home *** CD-ROM | disk | FTP | other *** search
/ The Very Best of Atari Inside / The Very Best of Atari Inside 1.iso / mint / mint99s / changes < prev    next >
Text File  |  1993-01-20  |  84KB  |  2,386 lines

  1. Changes are listed in *reverse* order, most recent changes being
  2. first.
  3.  
  4. version 0.99
  5.  
  6. PATCHLEVEL 2::
  7.  
  8. main.c:
  9.     Big bug fix -- the do_exec_os routine was being called with a
  10.     basepage that occupied all of memory, so that the Pexec(200) it
  11.     did was failing due to insufficient memory. Now we Mshrink the
  12.     basepage; this also necessitates fixing up the stack pointer.
  13. main.c:
  14.     Handle mint.cnf files that don't end in a carriage return/line feed
  15.     combination.
  16. filesys.c:
  17.     New path parsing code to correct a bug in the way symbolic
  18.     links were being handled on loadable file systems.
  19.  
  20. PATCHLEVEL 1::
  21.  
  22. debug.c:
  23.     Made the default debugging level give ALERT messages.
  24. dosfile.c:
  25.     Corrected a bug in the way global file handles are closed.
  26.  
  27. PATCHLEVEL 0::
  28.  
  29. dosmem.c:
  30.     Made it so that overlay Pexec modes (e.g. 200) set up
  31.     the basepage to preserve the same "parent".
  32. main.c:
  33.     Added in a kludge so that if we're starting GEM from a file
  34.     (e.g. gem.sys) then we do it via the exec_os vector. I hope
  35.     this makes the Codeheads happy :-).
  36. dosmem.c,tty.c:
  37.     Backed out entropy's and schwab's changes. Random programs
  38.     were getting stopped under MultiTOS because of them; I can't
  39.     find the cause, so let's go back to something that worked
  40.     (if suboptimally).
  41. main.c:
  42.     Fixed a silly initialization error: we should not
  43.     assume a default language, we should get it from
  44.     the ROMs.
  45. dosdir.c: ++julian@math.uni-muenster.de
  46.     Extended Dlock: if bit 1 of the mode is set, then the
  47.     process id of the process using the drive is returned
  48.     instead of ELOCKED or EACCDN; this allows for more
  49.     informative error messages.
  50. welcome.c:
  51.     Updated the copyright notice.
  52.  
  53. version 0.98
  54.  
  55. PATCHLEVEL 4::
  56.  
  57. dosmem.c,tty.c: ++entropy@gnu.ai.mit.edu
  58.     Corrected some silliness in the job control code.
  59.  
  60. PATCHLEVEL 3::
  61.  
  62. xbios.c:
  63.     Took out the ONLY030 optimization; it didn't work correctly
  64.     (I can't see any reason why it shouldn't have worked, but
  65.     it didn't; perhaps a compiler bug bit us?)
  66.  
  67. PATCHLEVEL 2::
  68.  
  69. main.c:
  70.     Changed magic shift key to LEFT shift key.
  71. filesys.c:
  72.     Make loaded .XFS files go into supervisor accessible
  73.     memory.
  74. welcome.c,main.c:
  75.     Ask user in her own language whether or not to boot if the
  76.     kernel is a MultiTOS one and she held down the shift key.
  77. filesys.c:
  78.     Relax O_COMPAT mode opens somewhat so that any
  79.     number of processes can open the file for reading,
  80.     as long as no more than 1 has it open for writing.
  81.     ALSO: make sure O_EXEC gets treated the same as O_RDONLY.
  82. dosfile.c:
  83.     Change TRACE() to TRACELOW() on Fread and Fwrite.
  84. tosfs.c:
  85.     Went back to old method of doing tosfs.c; this is
  86.     better tested and safer.
  87. dos.c:
  88.     New system call, Salert(msg), for doing an alert message.
  89. debug.c:
  90.     Terminate messages written to the alert pipe with a 0.
  91.     Also: pour them into alert boxes so that programs like
  92.     sysalert don't have so much to do.
  93.  
  94. PATCHLEVEL 1::
  95.  
  96. fasttext.c: ++shenson
  97.     Corrected the quote_putch function.
  98. dosdir.c:
  99.     Allow Dfree(n) to work if "n" is a big number (e.g. BIOSDRV)
  100.     and the corresponding pseudo-drive is a current or root directory
  101.     of the current process.
  102. pipefs.c: ++schwab@ls5.informatik.uni-dortmund.de
  103.     Return a new error number, EPIPE, for writes to broken pipes.
  104. tty.c: ++schwab@ls5.informatik.uni-dortmund.de
  105.     If a tty loses its owner, the next process to do i/o to it
  106.     will become the owner.
  107. dosfile.c: ++schwab@ls5.informatik.uni-dortmund.de
  108.     FA_RDONLY doesn't mean "read only" on the process file system,
  109.     so allow such processes to be opened for writing.
  110.  
  111. PATCHLEVEL 0::
  112.  
  113. xbios.c:
  114.     Fixed Supexec to pass the function pointer on the stack, too
  115.     (just as TOS does). This is still undocumented behaviour,
  116.     so you rely on it at your own risk.
  117. xbios.c: ++entropy@gnu.ai.mit.edu
  118.     Applied a fix for Rsconf() with TOS 1.04, and made the
  119.     old TOS Rsconf stuff #ifndef ONLY030.
  120. proc.c,dosmem.c:
  121.     Wrap all calls to add_q/rm_q in spl7(), so that the
  122.     wakeselect() function truly can be called from
  123.     interrupt code.
  124. makefile,*.spp:
  125.     Make provisions for compiling an 030/040 only version
  126.     of MiNT; this should be faster and smaller than the
  127.     generic version.
  128. version.h:
  129.     The file system interface changes warrant a new version
  130.     number, so here it is.
  131.  
  132. version 0.97
  133.  
  134. PATCHLEVEL 3::
  135.  
  136. dosdir.c,proc.c:
  137.     Keep a chain of open directories, so that if a program
  138.     terminates without calling closedir() we can still clean
  139.     up after it. Also: allocate directory structures from
  140.     kernel memory rather than user memory, so that we don't
  141.     take an 8K hit on each one. PROBLEM: a bug in the mntlib
  142.     readdir() function causes bus errors if memory protection
  143.     is on. This is a library bug that needs to be fixed
  144.     real soon now.
  145. dosmem.c:
  146.     TSRs now get forced into global memory if they were running
  147.     privately; this should make things easier for users who
  148.     forgot to change prgflags on their TSR programs.
  149. filesys.c:
  150.     New meaning for O_COMPAT mode: deny write access to all other
  151.     processes.
  152. tosfs.c:
  153.     Added a define to turn on/off the RO_FASCISM code. Personally,
  154.     I think it should always be on.
  155. dosdir.c,filesys.c,file.h,*fs.c:
  156.     New file system functions, release() and dupcookie(), so that
  157.     the kernel can inform file systems when it is finished
  158.     with a file cookie; networked file systems will be very
  159.     happy about this.
  160.  
  161. PATCHLEVEL 2::
  162.  
  163. procfs.c:
  164.     Moved the memory protection checks for proc_read and
  165.     proc_write to a separate function in memprot.c.
  166. dosfile.c:
  167.     Remove the old compatibility code for Fcntl(F_SETFL,...).
  168.     (Actually, it's commented out, so we can put it back in
  169.     if we need to.)
  170. signal.c:
  171.     Change default behaviour for SIGFPE (which is raised
  172.     by division by 0) to "ignore", same as TOS.
  173. dosdir.c:
  174.     Made Dgetcwd() use the new size parameter, so that it
  175.     works as advertised.
  176. file.h, *fs.c:
  177.     Provide a "size" parameter for the getname() file system
  178.     function, so that we can do Dgetpath() of arbitrary length
  179.     paths.
  180. util.c:
  181.     BIG_MEM_DUMP is a nasty thing for users to get;
  182.     so we shouldn't do it on all failed mallocs!
  183.  
  184. PATCHLEVEL 1::
  185.  
  186. proc.c:
  187.     Plugged a memory leak (dispose_proc was failing to
  188.     free the process table memory, because fork_proc
  189.     was zeroing that field in the PROC structure).
  190. main.c:
  191.     Fixed MAXMEM= (it was setting the maximum CPU time,
  192.     not the maximum memory -- I thought I tested this!)
  193.  
  194. PATCHLEVEL 0::
  195.  
  196. main.c:
  197.     Added MAXMEM= and SLICES= variables for mint.cnf.
  198. bios.c:
  199.     Fixed Setexc so that if the new vector is in a global
  200.     region, the region is re-marked to be super.
  201. dosmem.c:
  202.     Fixed a race condition with memory protection and
  203.     Pexec(100,...) (if the new process exited early,
  204.     the old process might still try to access it).
  205. realloc.c:
  206.     New file, for doing the Srealloc system call (for
  207.     Falcon TOS).
  208. *.*:
  209.     Merged in Allan's memory protection and debugging
  210.     code. New files: memprot.c, nalloc2.c, welcome.c.
  211.  
  212. version 0.96
  213.  
  214. PATCHLEVEL 14::
  215.  
  216. tosfs.c:
  217.     Aaargh! Just after cutting this patch I discovered
  218.     that I had the test backwards.
  219.  
  220. PATCHLEVEL 13::
  221.  
  222. tosfs.c:
  223.     Changed so that Fsfirst()/Fsnext() always return
  224.     upper case, regardless of domain. (MiNT aware
  225.     programs should use the new directory functions.)
  226. dosdir.c: ++akiernan
  227.     Got rid of the special hack for drive x:, since
  228.     drive x: no longer exists.
  229. asm.y: ++akiernan
  230.     Cleaned up a bit.
  231. *.c: ++julian
  232.     Some minor patches for PureC.
  233. dosdir.c: ++julian
  234.     New system call, Dgetcwd(), with a 'size' parameter;
  235.     this doesn't do anything different from Dgetpath
  236.     now, but it's there for future expansion.
  237.  
  238. PATCHLEVEL 12::
  239.  
  240. version.h:
  241.     Update the patchlevel correctly.
  242. pipefs.c,dosfile.c:
  243.     Keep the Unix style semantics for pipes created with
  244.     Fpipe, but not for other fifo's (which by default will
  245.     continue to read the number of bytes requested).
  246.  
  247. PATCHLEVEL 11::
  248.  
  249. tty.c:    ++schwab
  250.     Support word-erase and quote-next-char.
  251. fasttext.c: ++schwab
  252.     support fgcol/bgcol
  253.     (screen_ioctl): tty_ioctl is now called by parent by default if
  254.     EINVFN
  255. signal.c (check_sigs): ++schwab
  256.     Use an int to index signals, not a long
  257. biosfs.c (bios_getxattr): ++schwab
  258.     u:\dev\stdin, etc., get the attributes of
  259.     the associated files
  260. dos.c (p_setuid, p_setgid): ++schwab
  261.     Allow setting to the current real [gu]id
  262. bios.c (checkkeys): ++schwab@ls5.informatik.uni-dortmund.de
  263.     Keys read by do_func_key should not be
  264.     interpreted (esp. UNDO -> SIGQUIT). also recheck shift status
  265.     since do_func_key may take some time
  266. xbios.c: ++entropy@gnu.ai.mit.edu
  267.     Added code to support old (tos < 1.4) Rsconf()
  268.     semantics.
  269. mem.c:
  270.     Changed so that attempts to execute a shared text program
  271.     which has data/bss references in the text segment will
  272.     get an ENOEXEC error instead of ENSMEM.
  273. *.c: ++julian@math.uni-muenster.de
  274.     Applied Julian's purec patches.
  275.  
  276. PATCHLEVEL 10::
  277.  
  278. pipefs.c:
  279.     Changed so that read() on a pipe will return as
  280.     soon as some data is available; this is how
  281.     all Unixes work.
  282. *.c:
  283.     Applied Julian's patches to allow compilation with
  284.     PureC.
  285. main.c:
  286.     New variable, MAXMEM=, for setting maximum memory
  287.     size (in K).
  288. main.c:
  289.     Removed PSEUDODRIVES= command, since "alias" has
  290.     replaced it.
  291. util.c:
  292.     Changed atoi to atol; it's more generally useful.
  293. asmtrans:
  294.     Applied Howard's patches; in particular, made %ifdef
  295.     apply to other commands (like %define) as well as to
  296.     code generation.
  297.     
  298. PATCHLEVEL 9::
  299.  
  300. asmtrans:
  301.     Cleaned up a bit more for cross-compilation.
  302. intr.spp:
  303.     in_kernel can be set while the process is in user mode
  304.     (if the critical error handler calls GEM)
  305. syscall.spp:
  306.     Get rid of some more magic numbers.
  307. bios.c:
  308.     While fixing the mtt bug, a new bug was introduced. So,
  309.     let's try again :-).
  310.  
  311. PATCHLEVEL 8::
  312.  
  313. bios.c:
  314.     Fixed a particularly silly bug in bios.c: in do_bconin(),
  315.     r was being returned without being initialized. Why didn't
  316.     gcc catch this?
  317. *.c:
  318.     Applied Alex's patches for Lattice, and Julian's patches for
  319.     Pure C.
  320. signal.c:
  321.     Kill programs with p_term() instead of terminate() (except for
  322.     signal SIGKILL) so as to allow them a chance to clean up via
  323.     the term_vec vector.
  324. shmfs.c:
  325.     Allow Fattrib() call to change the read-only
  326.     bit. Made Fxattr() return the correct mode
  327.     for shared memory files.
  328. main.c, fasttext.c:
  329.     Allowed HARDSCROLL=AUTO to set the number of
  330.     lines of scrolling to the current screen size.
  331. syscall.spp, inline.h:
  332.     New functions, callout2() and callout1(), with
  333.     less overhead; used by bios.c to call the
  334.     Bconxxx functions.
  335. bios.c:
  336.     Changed calls to Bconxxx functions into
  337.     jumps through the defined vector table in
  338.     low memory, when this is possible (TOS 1.0
  339.     doesn't have the table).
  340. asmtrans, *.spp:
  341.     Added %ifdef, %else, and %endif commands (for
  342.     future expansion). Removed the requirement that
  343.     macros to be expanded be delimited by % signs,
  344.     and cleaned up the definitions. Changed
  345.     "SECTION FOO" to "FOO". Added -purec compilation
  346.     option.
  347. filesys.c:
  348.     Fixed a bug in changedrv (there was no
  349.     check to see if "d" was a BIOS drive before
  350.     aliasdrv[d] was tested).
  351.  
  352. PATCHLEVEL 7::
  353.  
  354. biosfs.c,fasttext.c:
  355.     Fixed incorrect code that assumed TCURSON
  356.     was 0.
  357. makefile:
  358.     Fixed Makefile to work with older versions
  359.     of gmake, as well as generic make programs.
  360.  
  361. PATCHLEVEL 6::
  362.  
  363. *.s:
  364.     Radical overhaul of how assembly language is
  365.     handled. We now provide 2 utility programs,
  366.     "genmagic" (for producing symbolic names for
  367.     various offsets into structures) and "asmtrans"
  368.     (for processing .spp files, replacing macros
  369.     defined by "genmagic" and optionally translating
  370.     Motorola to MIT syntax). Now we only have to
  371.     maintain the .spp files; the Lattice and gcc
  372.     versions of the .s files are generated automatically,
  373.     and as a side benefit we can get rid of magic
  374.     numbers in the .s files and be sure that if we
  375.     change proc.h, the assembly language will be
  376.     updated properly.
  377. main.c,filesys.c,file.h:
  378.     Added a new command to mint.cnf, "alias", to
  379.     enable aliases for pseudo (and other) drives
  380.     to be created. Also, deleted drives q:, v:, and
  381.     x:. Programs should no longer be using these;
  382.     if they are, users can put things like
  383.     "alias q: u:\pipe" into mint.cnf.
  384. file.h:
  385.     Fixed the definitions for TCURSON and TCURSOFF.
  386. console.c:
  387.     Moved the handle checks in file_* functions into
  388.     separate functions, since for example we *know*
  389.     that handle 0 falls within the legal range; this
  390.     should remove a bit of overhead on BIOS and
  391.     single character GEMDOS I/O.
  392. main.c:
  393.     Got rid of the zeroexit() code; since we now
  394.     allow the whole boot process to be aborted by
  395.     right shift.
  396. pipefs.c:
  397.     Allow Cursconf() to work on TOSWIN pipes.
  398. mem.c:
  399.     Check the date and time of shared text regions
  400.     before re-using them.
  401. bios.c,syscall.s:
  402.     Changed the trap #13 entry point to allow quick
  403.     evaluation of BIOS functions that don't need
  404.     the full context save/restore done.
  405. everywhere:
  406.     Macro-ize TRACE and DEBUG so that it's possible
  407.     to produce a smaller version of MiNT without
  408.     them.
  409. biosfs.c:
  410.     Don't check for keyboard presses after every
  411.     BIOS write, it's too time consuming.
  412.  
  413. PATCHLEVEL 5::
  414.  
  415. mem.c:
  416.     Another bug: we shouldn't do the dLibs Pexec
  417.     hack on the first process we start up, because
  418.     it means messing with the MiNT basepage (which
  419.     is not ours to mess with, it's TOS's).
  420. main.c:
  421.     Fixed bug in enter_kernel (rootproc->base is no
  422.     longer necessarily MiNT's basepage).
  423. various places:
  424.     Tried to remove gcc warnings about constant
  425.     expression overflow.
  426. syscall.s:
  427.     Applied Alex's patch to allow trace mode to work
  428.     with non-MiNT debuggers.
  429. various places:
  430.     Applied Alex's patches to get rid of Lattice warnings
  431.     about unneeded assignments.
  432. mem.c:
  433.     Added extra traces to exec_region() in an effort to
  434.     track down the mysterious crash problems that others
  435.     have had.
  436.  
  437. PATCHLEVEL 4::
  438.  
  439. dosmem.c:
  440.     Made do_vfork not bother to save shared text regions.
  441. bios.c:
  442.     Made Rwabs respect Dlock.
  443. tosfs.c:
  444.     Made the TOS media change routines lazier (actual
  445.     disk access is deferred until the disk is next
  446.     needed).
  447. main.c:
  448.     Applied Alex's patches for setenv.
  449. everywhere:
  450.     Applied Julian's patches for Pure/Turbo C. The
  451.     resulting kernel doesn't actually work yet, but
  452.     at least we don't get so many error messages when
  453.     compiling. (Who needs lint when you have three
  454.     fussy ANSI compilers?)
  455. mint.h:
  456.     Oops; we should have had #include "inline.h" here.
  457. inline.h:
  458.     Applied jrb's GCC patches, and Alex's Lattice patches.
  459.  
  460. PATCHLEVEL 3::
  461.  
  462. bios.c:
  463.     Some optimizations in bflush(). I tried something like
  464.     this before, but messed up the terminal output modes.
  465.     Let's hope I got it right this time. Also:
  466.     removed some dependencies on sizeof(int).
  467. makefile:
  468.     Tried -O2 instead of -O. It seems to work, so let's
  469.     leave it on for now.
  470. inline.h:
  471.     New file to keep short, inlined versions of frequently
  472.     called functions.
  473. intr.s:
  474.     Check the floppy disk locking flag before doing a
  475.     pre-emption. Not really necessary now, but it doesn't
  476.     hurt to be careful.
  477. dosfile.c,*fs.c:
  478.     Applied Alex's F_SETLKW patches. If Alex isn't careful,
  479.     he's going to make MiNT Posix compliant on us :-).
  480. dosmem.c:
  481.     Applied Alex's patches to add a Pwaitpid system call.
  482. main.c:
  483.     If running from the AUTO folder, adjust the basepage
  484.     chains so that MiNT is invisible to programs that
  485.     (incorrectly!) make assumptions about basepages.
  486. proc.c:
  487.     Some optimizations in do_wakeup.
  488. filesys.c:
  489.     Don't call (*fs->dskchng)() twice when a disk
  490.     change is detected.
  491. main.c:
  492.     Make sure the _resvalid system variable has the
  493.     correct magic number in it for indicating that
  494.     we want to catch the reset.
  495.  
  496. PATCHLEVEL 2::
  497.  
  498. dosdir.c:
  499.     Really forbid deleting other process' current
  500.     directories (the actual "return EACCDN" was missing!)
  501. proc.c:
  502.     Inlined the check_time() function, and re-arranged
  503.     do_wakeup_things a bit to be more efficient.
  504. syscall.s:
  505.     Streamlined a bit; things are now kept in registers
  506.     where possible.
  507. filesys.c:
  508.     When loading file systems at startup time, don't
  509.     check the \MINT directory if that's the current one.
  510. filesys.c:
  511.     After a media change, instead of throwing away all
  512.     handles that pointed to the changed drive, make
  513.     them point to /dev/null instead, so that they
  514.     won't be re-used until the user explicitly closes
  515.     them.
  516. dosdir.c:
  517.     Allow Dlock() to succeed even if there is an
  518.     unfinished Fsfirst/Fsnext sequence on the drive.
  519. mem.c:
  520.     Allow relocations outside of the program load area;
  521.     apparently, some programs actually need these.
  522. mem.c:
  523.     Insert some sanity checks on memory addresses.
  524. signal.c:
  525.     Restart check_sigs if the process stopped because of
  526.     a signal, since the parent may reset the set of
  527.     pending signals.
  528. cpu.s:
  529.     New file from Alex, to control caching &c.
  530. various places:
  531.     More debugging patches from Alex, to make attaching
  532.     to existing processes work correctly.
  533.  
  534. PATCHLEVEL 1::
  535.  
  536. various places:
  537.     Cleaned up the debugging stuff a bit. For example, if a
  538.     process does PTRACESFLAGS on itself, it's the same
  539.     as if the parent did; also, if the process does a
  540.     Pexec with overlay (i.e. Unix exec()) then it stops
  541.     before its first instruction. This makes emulating
  542.     the Unix ptrace() system call much easier.
  543.  
  544. PATCHLEVEL 0::
  545.  
  546. biosfs.c:
  547.     Changed Fcntl TIOCISPEED/TIOCOSPEED to return the
  548.     next lowest legal baud rate if an illegal one is
  549.     specified.
  550. filesys.c:
  551.     Fix a bug that would cause an infinite loop if a
  552.     bad .XFS format is encountered.
  553. mem.c,mem.h,dosmem.c:
  554.     Implemented shared text; if the appropriate bit
  555.     (for now, 0x800) in the program header is set, then
  556.     the loader will set up a shared text region for
  557.     the program, and subsequent executions of it will
  558.     run out of the same text segment. Note that this
  559.     does require appropriate compiler support!
  560. filesys.c:
  561.     Fixed bug in the way directory searches are closed
  562.     after a media change.
  563. biosfs.c,intr.s:
  564.     Applied Julian's third mouse button patch for
  565.     /dev/mouse.
  566. *.s:
  567.     Applied Alex's debugging patches. Also: wrote a
  568.     Motorola->MIT syntax converter, so that we only
  569.     have to maintain the stuff in the "asm" directory.
  570. signal.c,proc.h,procfs.c,etc.:
  571.     Applied Alex's debugging patches, with a few
  572.     slight modifications.
  573.  
  574. version 0.95
  575.  
  576. PATCHLEVEL14::
  577.  
  578.  
  579. filesys.c:
  580.     Check for the existence of the \MINT directory before
  581.     trying to load .XFS files from there.
  582.  
  583. --- patchlevel 13 released to the public ---
  584.  
  585. PATCHLEVEL13::
  586.  
  587. proto.h,filesys.c:
  588.     Added Alex's patches for Lattice.
  589.  
  590. PATCHLEVEL12::
  591.  
  592. dosdir.c:
  593.     Fsnext() on symbolic links was broken, because
  594.     relpath2cookie no longer checks drive letters
  595.     unless "depth" is > 0. Fixed this. (why did
  596.     we change relpath2cookie that way?? this is
  597.     changed back in 0.99pl2)
  598. main.c,filesys.c:
  599.     Added support for putting the mint.cnf file
  600.     and any *.XFS files into the directory \mint.
  601. dos.c:
  602.     Added Pgeteuid() and Pgetegid() system calls.
  603. main.c:
  604.     Fixed the "set current directory" code to
  605.     work properly.
  606. main.c:
  607.     Added a sanity check; if GEM is already running,
  608.     don't try to run it again.
  609. procfs.c:
  610.     Added FIONWRITE and FIONREAD ioctl calls.
  611. proc.c,bios.c:
  612.     Fixed the type of the critical error handler.
  613. dosfile.c,file.h,proc.c:
  614.     Added Alex's patches for O_APPEND and O_NOINHERIT.
  615. shmfs.c:
  616.     Fixed lseek() on shared memory segments, and added
  617.     FIONWRITE and FIONREAD ioctl calls.
  618. fasttext.c:
  619.     Tried once again to tame the wild cursor.
  620. dosmem.c,proc.c:
  621.     Modified process startup code so that PROC structures are no
  622.     longer kept forever by the kernel (which should help alleviate
  623.     memory fragmentation problems a bit).
  624.  
  625. PATCHLEVEL11::
  626.  
  627. dosmem.c:
  628.     Applied Alex Kiernan's SIGTRAP bug fix (and kicked myself for
  629.     forgetting C's precedence rules; thanks, Alex!).
  630. filesys.c:
  631.     Fixed relpath2cookie so that names like "C:\Z:" aren't
  632.     interpreted as referring to drive Z:.
  633. fasttext.c:
  634.     Restored the "turn on cursor when opening()" code, because
  635.     without it the fasttext driver and BIOS aren't in sync.
  636. main.c:
  637.     Moved the check for the presence of an already existing MiNT
  638.     cookie to earlier in the initialization process, so that
  639.     the error message can be printed properly.
  640. shmfs.c:
  641.     Fixed Dpathconf() on U:\SHM (filenames are truncated automatically
  642.     on that file system) and corrected the comment there.
  643. syscall.s:
  644.     New function, call_aes, used to check for the presence of GEM
  645.     (so we can tell whether or not we're running from the AUTO folder).
  646. main.c:
  647.     Run any programs which come after mint.prg in the AUTO
  648.     folder.
  649. version.h:
  650.     Changed so that the patchlevel is always printed on boot-up.
  651.  
  652. PATCHLEVEL10::
  653.  
  654. unifs.c:
  655.     Add U:\SHM as an interface for shared memory.
  656. shmfs.c:
  657.     New file system for doing shared memory.
  658. xbios.c:
  659.     Fixed Bconmap() to always return an error if the underlying
  660.     TOS doesn't support Bconmap.
  661. main.c:
  662.     Fixed a bug in the argument parsing code for the "exec"
  663.     command in mint.cnf.
  664. dosdir.c:
  665.     Changed Dlock() to return ELOCKED if an attempt is made to
  666.     lock a drive that's already locked, and ENSLOCK if an attempt
  667.     is made to remove a non-existent lock.
  668. version.h:
  669.     I forgot again to update this. Aargh!
  670.  
  671. PATCHLEVEL9::
  672.  
  673. mem.c,mem.h:
  674.     Align everything on 16 byte boundaries.
  675. mem.c,dosmem.c:
  676.     Actually fix the "memory being allocated twice" bug.
  677.     The problem was that setting m->links to 0 before calling
  678.     attach_region was a no-no.
  679.  
  680. PATCHLEVEL8::
  681.  
  682. mem.c:
  683.     Attempt to fix the strange "memory being allocated
  684.     twice" bug.
  685. tosfs.c:
  686.     Truncating names at 14 characters came *before* the
  687.     8.3 kludge, which meant that long names were being
  688.     interpreted incorrectly (e.g. gcc-cc1plus.ttp was
  689.     becoming "gcc-cc1p.tt"). Temporary kludge: only
  690.     truncate at 32 characters. Long term solution:
  691.     re-write this code to do the 8.3 truncation at the
  692.     same time as the truncation.
  693. main.c, proc.h:
  694.     Provide a more explicit type for criticerr.
  695. proc.c:
  696.     Don't make _logbase per-process if hardware scrolling
  697.     is active, since this makes for all kinds of weirdness!
  698. mem.c:
  699.     Allow NULL commandline to be the same as an empty
  700.     string. (It was acting this way before, due to the MiNT
  701.     library strncpy; now that we use our own strncpy some
  702.     programs were passing funny arguments.)
  703. dosmem.c:
  704.     Provide a more detailed trace of Pexec activity.
  705. mem.c:
  706.     Added a sanity check in get_region().
  707. proc.c:
  708.     Set the time/date stamp of process 0 to the
  709.     date & time when the system was booted.
  710. fasttext.c:
  711.     Commented out the code that turns the cursor
  712.     on when u:\dev\fasttext is opened.
  713. tty.c:
  714.     Unsigned characters are always >= 0, so we
  715.     don't need to check this.
  716.  
  717. PATCHLEVEL7::
  718.  
  719. makefile.lcc,mintlc.prj:
  720.     Added Alex's patches.
  721. assert.h:
  722.     Added Alex's patch to cast the result to void.
  723. filesys.c:
  724.     Make sure the file system media change routine
  725.     is called every time a disk change is forced;
  726.     this corrects the Dlock() bug (it wasn't forcing
  727.     media change as it should have).
  728. version.h:
  729.     Oops! I forgot to increment this for pl6, so
  730.     it jumps by 2 this time.
  731.  
  732. PATCHLEVEL6::
  733.  
  734. biosfs.c,pipefs.c,tty.c:
  735.     New Fcntl calls for controlling terminal baud
  736.     rates and flags such as parity and stop bits.
  737.     These have been integrated with the old TIOC*
  738.     calls where applicable.
  739. dosfile.c:
  740.     Changed Fcntl to make a call to tty_ioctl be the
  741.     default if the device is a terminal and the device
  742.     ioctl routine returns EINVFN.
  743. procfs.c, proc.c:
  744.     The date/time stamp of a process now shows when the
  745.     process was started, rather than being the number
  746.     of seconds of CPU time used.
  747. tosfs.c:
  748.     Degrade an ALERT to a TRACE; there is a circumstance
  749.     in which a root directory can apparently be changed,
  750.     and that's when a program tries to open an empty
  751.     file name. We don't need to warn the user that
  752.     something is wrong in this case; we can just fail
  753.     silently.
  754. proc.c:
  755.     Save the logical screen base for each process.
  756. main.c,bios.c,proc.h:
  757.     Made the critical error handler per-process.
  758. bios.c,syscall.s:
  759.     A cleaner way of saving registers when calling
  760.     functions... this wasn't really necessary, but I
  761.     did it to make tracking a bug down easier.
  762. tty.c:
  763.     New terminal flag, T_NOFLUSH, to suppress flushing of
  764.     input when SIGINT or SIGQUIT is received.
  765. *fs.c, file.h:
  766.     Added a new Dpathconf() option that tells whether or
  767.     not a file system is case sensitive.
  768. dos.c:
  769.     Forbid Prenice() on processes that you don't own.
  770. dosmem.c:
  771.     Correct a typo that was causing terminal process groups
  772.     to be incorrectly set.
  773.  
  774. PATCHLEVEL5::
  775.  
  776. makefile:
  777.     The -DOWN_LIB declaration should have been on (actually,
  778.     it was, in my copy... sorry for the mix-up).
  779. fasttext.c:
  780.     Applied Alex's patch for the disappearing cursor bug.
  781. everywhere:
  782.     Applied Alex's patches to add "const" declarations where
  783.     appropriate, and to get rid of size_t (since if OWN_LIB
  784.     is defined we use "int" instead).
  785. dosmem.c:
  786.     Fixed M_KEEP to attach memory to rootproc *only* at
  787.     process termination.
  788.  
  789.  
  790. PATCHLEVEL4::
  791.  
  792. proto.h:
  793.     Added prototype for do_func_key().
  794. everywhere:
  795.     Applied apratt's debugging/trace patches.
  796.  
  797. PATCHLEVEL3::
  798.  
  799. xbios.c, biosfs.c:
  800.     Change Bconmap to actually do the equivalent of an
  801.     Fforce(-2, foo) call; this way, we don't need the
  802.     ugly DFLTMODM kludge. (On the other hand, we introduce
  803.     some new ugly kludges :-)).
  804. main.c,proc.c:
  805.     Wait until everything is initialized before opening
  806.     devices; this avoids bogus critical error messages from
  807.     AHDI.
  808. util.c, mint.h, ctype.h:
  809.     Add all sorts of utility routines (for string processing,
  810.     character type recognition, and the like). This is
  811.     designed to make sure that MiNT works the same regardless
  812.     of what library is used to compile it. We're not quite
  813.     totally independent of library yet (the startup code and
  814.     <osbind.h> aren't replaced) but we're pretty close.
  815. main.c, proc.c:
  816.     Initialize the current directory for the root
  817.     process *after* file systems have been loaded, since
  818.     otherwise the info is nuked when a new fs is loaded in.
  819. bios.c:
  820.     Allow output to BIOS device 5 to be redirected along
  821.     with BIOS device 2; we do this by using the MW
  822.     ESC-Q control sequence to quote characters. A bit of
  823.     a hack, but then, not many people use device 5.
  824. quickmov.s:
  825.     Fixed two bugs in quickmove: (1) it didn't work for
  826.     regions bigger than 0x00fffe00 bytes in length,
  827.     and (2) it assumed the length was a multiple of 4
  828.     bytes.
  829. fasttext.c:
  830.     Re-arrange things a bit to get rid of a gcc 2.1 warning.
  831. dosmem.c:
  832.     Change flag 0x4000 to mean "don't free the memory
  833.     automatically on process termination"; explicit
  834.     Mfree requests are still allowed, and after
  835.     termination *any* process may Mfree the memory.
  836.  
  837. PATCHLEVEL2::
  838.  
  839. makefile:
  840.     Remove -fcombine-regs from CFLAGS, since gcc 2.1
  841.     doesn't understand it.
  842. bios.c:
  843.     Ignore value returned by Bconout for the screen
  844.     (many text accelerators get this wrong :-( ).
  845. dossig.c, signal.h:
  846.     New system call, Psigaction(), by AGK. 
  847. xbios.c:
  848.     Added support for Bconmap.
  849. bios.c, biosfs.c:
  850.     Rationalized the way biosfs and bios interact;
  851.     no more funny device numbers are needed. Also:
  852.     added support for Bconmap, and a new default
  853.     modem device.
  854. pipefs.c:
  855.     Applied Michael Hohmuth's patch for pipe_close (thanks,
  856.     Michael!)
  857. filesys.c:
  858.     Don't try to initialize all the drives at boot time; path2cookie
  859.     is quite capable of initializing, and it saves having
  860.     to access drive B: (for example) while booting is going
  861.     on.
  862. main.c:
  863.     Allow the user to avoid booting MiNT if the right shift key
  864.     is held down.
  865. main.c:
  866.     Added safety checking, as suggested by AKP.
  867. dosmem.c:
  868.     In Mxalloc, if (mode & 0x4000) is nonzero then allocate non-freeable
  869.     memory (we do this by attaching the memory to the root process).
  870. fasttext.c:
  871.     Tabs should be non-destructive on the ST!
  872. proc.h:
  873.     Re-arranged some things. Note that "slices" was never supposed
  874.     to be visible to users! Also, added a "bconmap" variable to
  875.     give the current Bconmap mapping for the process.
  876. dosdir.c:
  877.     Fail Ddelete of current directories only on the current
  878.     drive; for other drives, reset the current directory
  879.     to the root directory. NOTE: Ddelete of a current directory
  880.     is forbidden only if the directory is someone else's
  881.     current directory; if it's only your current dir., you
  882.     can delete it (and get automatically bumped back to
  883.     root).
  884.  
  885. PATCHLEVEL1::
  886.  
  887. dosmem.c:
  888.     Fixed a bug that caused processes with no '.' in their names
  889.     to have the wrong process name.
  890. dosmem.c:
  891.     In Pexec, make sure we yield to the new process so that
  892.     it gets at least one timeslice to do an Mshrink().
  893. proc.c:
  894.     In preempt(), don't punish processes that have buffered
  895.     BIOS output and are preempted; the process of flushing the
  896.     buffer may very well put them to sleep, and in any event
  897.     processes doing I/O should not be considered "hogs".
  898. tosfs.c:
  899.     Don't look for volume labels in opendir/readdir/lookup etc.
  900. main.c:
  901.     AGK: added DEBUG_LEVEL and DEBUG_DEVNO options to mint.cnf.
  902. dossig.c:
  903.     New system call (Psigpause()) courtesy of Alex Kiernan.
  904. dosmem.c:
  905.     In Pexec(200,...), don't reset base->p_parent, since the
  906.     "parent" in an overlay exec is oneself.
  907. tty.c:
  908.     Fixed so that RAW mode reads will return all of an
  909.     extended escape sequence at once, rather than waiting
  910.     for the next read.
  911. dosmem.c:
  912.     When terminating a process, make sure that it's "number of
  913.     memory regions" is set to 0; otherwise, calls to memused()
  914.     on the process (e.g. by procfs) can crash the system.
  915. dosdir.c:
  916.     When removing directories, make sure that the directory
  917.     isn't in use as someone's current directory (so that
  918.     they don't get left in limbo).
  919. fasttext.c:
  920.     Screen memory must come from ST RAM -- otherwise hardware
  921.     scrolling crashes and burns. Fixed thanks to AGK.
  922. xbios.c:
  923.     Moved the prototype for midiws to proto.h, and corrected the
  924.     type of its argument (it should have been "int", not "short").
  925.  
  926. PATCHLEVEL0::
  927.  
  928. bios.c:
  929.     Terminal modes weren't being set correctly in Bconout, and also
  930.     weren't being set in bflush (which should have employed RAW
  931.     mode output, but didn't).
  932. everywhere:
  933.     Merged in Alex Kiernan's latest Lattice C patches.
  934.  
  935.  
  936. version 0.94
  937.  
  938. PATCHLEVEL4::
  939.  
  940. filesys.c:
  941.     Use U:\DEV\CON for CON:, instead of V:\CON, since we're
  942.     going to make drive V: go away soon.
  943. unifs.c:
  944.     When looking up a drive, make sure that it has a valid file
  945.     system attached to it -- otherwise, newly installed ramdisks
  946.     can cause system crashes :-(.
  947. fasttext.c:
  948.     Patches to make the fast text device work correctly on a TT,
  949.     courtesy of Erling Henanger.
  950. main.c:
  951.     Install 16 extra cookies, instead of 8, just to be friendly.
  952.  
  953. PATCHLEVEL3::
  954.  
  955. main.c:
  956.     Allow PSEUDODRIVES=MAP to put the extra drives in
  957.     _drvbits without installing new drivers for them.
  958. unifs.c:
  959.     Don't rely on drvmap() to figure out what drives exist;
  960.     it isn't accurate if PSEUDODRIVES=NO.
  961.  
  962. PATCHLEVEL2::
  963.  
  964. main.c:
  965.     Added an option for turning off the BIOS routines for the
  966.     pseudo-drives.
  967. filesys.c:
  968.     Moved the vector set/restore code to main.c (where all the
  969.     other vector stuff is).
  970. tosfs.c:
  971.     If the _FLK cookie was already set when MiNT started, we
  972.     pass file sharing and locking requests through to GEMDOS.
  973. main.c:
  974.     Turn the cursor off when leaving, if we were started from
  975.     the desktop.
  976. tosfs.c:
  977.     Fixed a bug in which tos_chmode was returning an incorrect
  978.     value.
  979. debug.c:
  980.     Added code for octal output to sprintf().
  981. dosdir.c:
  982.     Make Fsfirst() with the FA_LABEL bit set work on non-TOS
  983.     file systems (via the file system readlabel function).
  984.     (This used to work only when the search was restricted to
  985.     labels only.)
  986. various places:
  987.     Get rid of gcc 2.0 warnings.
  988.  
  989. PATCHLEVEL1::
  990.  
  991. file.h:
  992.     Because Fmidipipe and the disk change code can close
  993.     files other than the files of the current process,
  994.     the device driver "close" function needs another
  995.     parameter, namely the process id being closed; this
  996.     allows device drivers to remove locks properly.
  997. tosfs.c:
  998.     Volume labels shouldn't be found by Dreaddir().
  999. tosfs.c:
  1000.     Added file locking.
  1001. filesys.c, main.c, file.h:
  1002.     New utility routine (denylock) to make implementing file
  1003.     locking easier for file systems.
  1004.  
  1005. PATCHLEVEL0::
  1006.  
  1007. tosfs.c:
  1008.     Canonicalize file names (i.e. convert to 8.3 format).
  1009.     Also, keep track of the value returned from the last
  1010.     readdir() call, so that a subsequent Fxattr() will take
  1011.     place quickly.
  1012. proc.c:
  1013.     In sleep(), make sure interrupts are disabled while queue
  1014.     manipulations are occuring.
  1015. bios.c:
  1016.     Correct a stuttering problem for ^C and similar interrupts.
  1017. dosmem.c:
  1018.     8 character process names weren't terminated properly.
  1019. tty.c:
  1020.     Aaargh! Shift+cursor keys were being interpreted even when
  1021.     they shouldn't have been.
  1022.  
  1023. version 0.93
  1024.  
  1025. PATCHLEVEL6::
  1026.  
  1027. filesys.c:
  1028.     Check for newly installed drives when parsing an
  1029.     absolute path without an explicit drive letter, as
  1030.     well as when looking at ones with drive letters.
  1031.  
  1032. PATCHLEVEL5::
  1033.  
  1034. biosfs.c, fasttext.c:
  1035.     Allow TIOCGWINSZ calls on the console (we use the line A
  1036.     variables to get the number or rows and columns).
  1037. filesys.c:
  1038.     Fix a typo in the file system initialization checking.
  1039. pipefs.c:
  1040.     Make "VIRGIN_PIPE" more obviously a magic value, and
  1041.     document it.
  1042. pipefs.c:
  1043.     Make u:\pipe have a sensible date/time; also, make
  1044.     Dfree on u:\pipe return some useful statistics about
  1045.     the number of pipes in the system.
  1046. procfs.c:
  1047.     u:\proc has a sensible time and date now, namely the
  1048.     time/date of the last process creation or destruction.
  1049. dosfile.c:
  1050.     Fcreate() of a volume label now returns a handle to
  1051.     u:\dev\null.
  1052. dosmem.c:
  1053.     Make sure the BIOSBUF buffer is flushed when terminating.
  1054. main.c:
  1055.     There's a bug in TOS 1.4: GEM seems to assume that all
  1056.     memory is zero initially, and if it isn't (e.g. if a large
  1057.     AUTO folder program like MiNT terminates and leaves behind
  1058.     dirty memory) then having too many (or the wrong kind of)
  1059.     desk accessories can lead to a crash. This was a real bear
  1060.     to track down, and the work-around is very ugly; before
  1061.     MiNT exits we copy a short machine language subroutine into
  1062.     the command line, and then execute it; the routine zeros
  1063.     all of the TPA and then does a Pterm0().
  1064. rendez.c:
  1065.     Change a "short" to "int" for the benefit of gcc 2.0.
  1066. bios.c:
  1067.     Stop process dumps from stuttering.
  1068. console.c:
  1069.     Added support for global file handles.
  1070.  
  1071. PATCHLEVEL4::
  1072.  
  1073. dosfile.c:
  1074.     In Fselect(), we have to re-validate file handles after
  1075.     a sleep() call, since signal handlers may close files.
  1076. proc.c:
  1077.     Pre-allocate more PROC structures (this should help
  1078.     reduce memory fragmentation).
  1079. tty.c, file.h:
  1080.     Allow cursor/function keys to send escape sequences.
  1081. dosdir.c:
  1082.     As suggested by S. Henson: Dsetpath through a symbolic link
  1083.     may also require changing the current drive as well.
  1084. proc.c,dos.c,timeout.c:
  1085.     New process scheduling algorithm, as suggested by A. Pratt.
  1086. dosdir.c:
  1087.     Make only the low bit of Dlock() significant, for future
  1088.     expansion.
  1089. dosfile.c:
  1090.     Allow Fcreate() to create a global file handle.
  1091.  
  1092. PATCHLEVEL3::
  1093.  
  1094. debug.c:
  1095.     Changed TRACE mode output so that not just any keys will
  1096.     start/stop output, but only Help and Undo.
  1097. dosdir.c, filesys.c:
  1098.     Add a Dlock() system call to lock/unlock drives.
  1099. filesys.c:
  1100.     Only initialize drives if the BIOS drive map says that
  1101.     they exist.
  1102. dosmem.c:
  1103.     In Pexec, make a copy of any name we're going to use
  1104.     before freeing memory for overlayed programs; the old
  1105.     way was decidedly incorrect!
  1106. dosfile.c:
  1107.     Allow for global file handles, so that shared libraries
  1108.     can use file handles that are the same for all processes.
  1109. dosmem.c:
  1110.     In Mxalloc, ignore bits that we don't understand, to
  1111.     allow for future expansion.
  1112. syscall.s:
  1113.     Fix a bug that could cause the wrong system call to be
  1114.     made if BIOS buffering is on (!).
  1115. bios.c:
  1116.     Streamline the BIOS buffering mechanism, and make it
  1117.     more conservative about multiple processes doing Bconout
  1118.     output.
  1119. procfs.c:
  1120.     Allow "foo.-1" to stand for the current process, and
  1121.     "foo.-2" to stand for our parent. Also, add new
  1122.     Fcntls for getting/setting memory flags.
  1123. bios.c:
  1124.     In Setexc(), don't actually change any vectors, let the BIOS
  1125.     do it -- some TSR's install trap handlers that look for
  1126.     certain Setexc functions...
  1127. signal.c:
  1128.     Allow nested Supexec() calls, or Supexec()'s from a terminate
  1129.     vector.
  1130. procfs.c:
  1131.     Change the definition of PPROCADDR and add a new Fcntl,
  1132.     PCTXTSIZE.
  1133. mem.c:
  1134.     In exec_region, set the stack based on the value of p_hitpa
  1135.     from the basepage, instead of the size of the memory
  1136.     region -- some programs rely on being able to set the initial
  1137.     stack pointer for a Pexec(4,...) this way.
  1138. main.c, context.s:
  1139.     Avoid using 68020 instructions if we're on a 68010.
  1140.  
  1141. PATCHLEVEL2::
  1142.  
  1143. dos.c,proc.c:
  1144.     More tweaking of the priority code.
  1145. main.c:
  1146.     Change the type of "tosbp" from char ** to BASEPAGE **,
  1147.     since that's what it really is.
  1148. main.c:
  1149.     Add a special case for the Spanish TOS 1.0 act_pd variable.
  1150. pipefs.c:
  1151.     When a writer is waiting to write a small amount of data
  1152.     atomically, remember to wake up readers so that they
  1153.     can clear the pipe!
  1154. debug.c:
  1155.     Add the %u flag to ksprintf() (Fselect uses it, maybe others
  1156.     do too...)
  1157. dosmem.c:
  1158.     In Pterm(), put the exit code onto the stack when calling
  1159.     etv_term. It won't be in the same place as it was for TOS,
  1160.     but c'est la vie. (People asked for this feature...)
  1161. xbios.c:
  1162.     Provide a way to pass arguments to Supexec(). Note that Atari
  1163.     never documented that this was possible, but some people were
  1164.     relying on it anyway :-(. (Don't use this feature, it's only
  1165.     there as a compatibility hack.)
  1166. main.c:
  1167.     In shutdown(), don't bother waiting a second for processes
  1168.     to finish if there are no other processes.
  1169. filesys.c:
  1170.     Make sure that path names are null terminated after strncpy.
  1171. mem.c:
  1172.     Fix the code to zero process registers so that it *only* zeros
  1173.     process registers.
  1174. dosmem.c:
  1175.     Eliminate some redundant code.
  1176. dosfile.c:
  1177.     Open u:\pipe\sys$pipe.xxx rather than q:\sys$pipe.xxx.
  1178. main.c:
  1179.     Change a "malloc" into "kmalloc", and restore the #include
  1180.     of <minimal.h> that was inadvertently deleted.
  1181. main.c:
  1182.     Allow parameters to be passed to the initial program specified
  1183.     by the INIT= string.
  1184.  
  1185. PATCHLEVEL1::
  1186.  
  1187. main.c:
  1188.     Fix a typo in shutdown() that was causing problems when
  1189.     MiNT was shut down while processes were active.
  1190. tosfs.c:
  1191.     Make sure that tfullpath() returns a string less than
  1192.     PATH_MAX characters long.
  1193. everywhere:
  1194.     Replace "sprintf" with "ksprintf".
  1195. debug.c:
  1196.     Add a "ksprintf" function that's like sprintf(), but
  1197.     (a) doesn't have so many features (making it smaller),
  1198.     and more importantly (b) won't try to write more than
  1199.     SPRINTF_MAX characters into a buffer.
  1200. filesys.c:
  1201.     In path2cookie, make sure we don't try to copy more than
  1202.     PATH_MAX characters into the fixed size buffers.
  1203. dosmem.c:
  1204.     The "sleep if no memory available during Malloc" code
  1205.     was causing more problems than it solved, so it was
  1206.     removed. To compensate, we increase the priority of
  1207.     newly Pexec'd processes to make sure that they get
  1208.     to run.
  1209. dosmem.c:
  1210.     Aaaargh! A very serious screw-up in terminate() was
  1211.     causing us to wake up processes sleeping in vfork()
  1212.     even when their children were still using the address
  1213.     space; needless to say, horrible (and mysterious)
  1214.     crashes could ensue. Fix: only force the parent awake
  1215.     if wait_q == WAIT_Q && wait_cond matches the terminating
  1216.     process, otherwise let post_sig() handle waking.
  1217.     While fixing this bug, re-arrange the terminate code
  1218.     to do the waking up at the very end, just in case some
  1219.     of the other code may cause a sleep() temporarily.
  1220. bios.c:
  1221.     Fix the scan code for the UNDO key.
  1222. fasttext.c:
  1223.     Use Setscreen() to set the hardware screen base, since setting
  1224.     the variable at 0x45e causes TOS to keep setting the screen base
  1225.     ad infinitum.
  1226.  
  1227. PATCHLEVEL0::
  1228.  
  1229. rendez.c:
  1230.     When waking a process up from a semaphore, check to see
  1231.     if it's on the WAIT_Q before trying to remove it from
  1232.     that queue (it might have been moved off the wait queue
  1233.     by a signal).
  1234. bios.c:
  1235.     Make sure that Bconout(2,c) always succeeds, to compensate
  1236.     for text accelerators and other programs that don't return
  1237.     sensible values from Bconout. Also, ignore the Bconout
  1238.     return value when flushing the text output buffer.
  1239.  
  1240. version 0.92
  1241.  
  1242. PATCHLEVEL4::
  1243.  
  1244. biosfs.c:
  1245.     Provide devices for the extra Mega STe serial ports.
  1246. biosfs.c:
  1247.     Make the kernel info structure available to device drivers
  1248.     loaded with Dcntl.
  1249. xbios.c:
  1250.     Provide a modified Midiws function so that this is also
  1251.     affected by Fmidipipe and Fforce.
  1252. biosfs.c:
  1253.     Split bios_device into two device drivers; one for
  1254.     terminal devices, and one for plain character devices
  1255.     (the printer and IKBD port fall into this category).
  1256.     Also: provide a new Dcntl call to install plain BIOS
  1257.     devices in U:\DEV.
  1258. tty.c:
  1259.     Check for terminal start/stop keys while reading.
  1260. bios.c:
  1261.     In checkkeys, loop through all keys received since our last
  1262.     interrupt, rather than just checking the last thing in the
  1263.     buffer (as A. Pratt suggested).
  1264. bios.c, tty.c:
  1265.     Made the "disable" character for special terminal functions
  1266.     (e.g. the EOF key) be 0 instead of -1; this matches System V,
  1267.     is more POSIX friendly, and also makes confusing function keys
  1268.     and ^@ less likely. (Thanks to Scott Willingham for this
  1269.     suggestion.)
  1270. file.h, elsewhere as needed:
  1271.     Renamed the O_BIOS flag O_TTY (since that's what it really
  1272.     represents) and renamed the is_bios macro is_terminal.
  1273. dosmem.c:
  1274.     Make Pexec mode 106 cause the child to be truly independent
  1275.     of the parent (i.e. it doesn't get the parent's address space,
  1276.     nor does the parent get the child's).
  1277. biosfs.c:
  1278.     Allow symbolic links from U:\DEV; this lets us do things like
  1279.     Fsymlink("U:\PIPE\SERVERFIFO", "U:\DEV\SERVERDEV").
  1280. main.c:
  1281.     When PRN=d:\foo is specified, create the file foo instead of
  1282.     just trying to open it; this makes no difference to devices,
  1283.     but makes redirecting printer output to a file much more
  1284.     convenient.
  1285. unifs.c:
  1286.     Fix a bug that was causing Dgetpath() to return incorrect
  1287.     information for U:\A.
  1288. timeout.c:
  1289.     Make sure "searchtime" is up-to-date; bconout uses this for
  1290.     the time out.
  1291. biosfs.c:
  1292.     Fix bios_write so that if bconout fails, so does the write.
  1293. bios.c:
  1294.     Fix bconout so that it doesn't hang forever if the device isn't
  1295.     going to be ready (e.g. the printer is off); instead, there's
  1296.     a 10 second timeout.
  1297. main.c:
  1298.     Send all processes SIGTERM when we're shutting down, so that
  1299.     they have a chance to clean up after themselves.
  1300. mint.h:
  1301.     The KBDVEC structure was missing the "clockvec" element (!).
  1302.  
  1303. PATCHLEVEL3::
  1304.  
  1305. biosfs.c:
  1306.     Revised to allow support for loading/removing device drivers
  1307.     dynamically, via a Dcntl() call.
  1308. dosmem.c,mem.c,dosfile.c,file.h:
  1309.     Added support for setuid/setgid. These bits are only checked
  1310.     in Pexec modes 0, 100, and 200, i.e. the "load and go" modes.
  1311. rendez.c:
  1312.     Added new semaphore code from Allan Pratt.
  1313. main.c:
  1314.     New command for mint.cnf: "exec foo.prg bar" runs the program
  1315.     "foo" with argument(s) "bar".
  1316. main.c:
  1317.     Use the XBRA protocol for all interrupt routines that we grab.
  1318. filesys.c:
  1319.     When terminating MiNT, close all open files to make sure data
  1320.     is flushed and devices are nicely shut down.
  1321. main.c:
  1322.     Add some more variables, such as CON and PRN for redirecting
  1323.     those handles, and HARDSCROLL for controlling the fast text
  1324.     output.
  1325. proc.c:
  1326.     Make sure the "links" field for the prn and aux handles is
  1327.     correct.
  1328. syscall.s, bios.c:
  1329.     Special case the BIOS Bconout code to try to speed it up
  1330.     a bit. We allow for buffering of Bconout output; the buffer
  1331.     is flushed on the next non-Bconout system call or context
  1332.     switch. This should usually work OK, but as a precaution
  1333.     we provide for a way to turn it off (BIOSBUF=NO in mint.cnf).
  1334. fasttext.c.fasttext.h:
  1335.     New files for a faster text output device; changes were
  1336.     made to biosfs.c to support this, too.
  1337. tty.c:
  1338.     Streamline writes to terminals by sending data to the
  1339.     tty device in chunks instead of 1 character at a time.
  1340. dosfile.c:
  1341.     In do_open, always return EFILNF, never EPTHNF.
  1342. dosmem.c:
  1343.     Use supexec() to execute the terminate vector code, to
  1344.     avoid duplication of signal 0 faking.
  1345. xbios.c:
  1346.     In Supexec() does leave the kernel, so we have to make
  1347.     appropriate adjustments. We do this by faking a signal
  1348.     (signal 0) and installing the user's function as a signal
  1349.     handler.
  1350. dosdir.c:
  1351.     Make Dfree(x) actually look at free space on the drive which
  1352.     corresponds to the current directory on <x>; this should make
  1353.     Dfree on drive U: much more useful.
  1354. proc.h:
  1355.     Make the "base" field of the PROC structure have type BASEPAGE *
  1356.     (since that's what it is!)
  1357. basepage.h, dosdir.c, dosmem.c:
  1358.     Support some undocumented fields in the basepage a little bit
  1359.     (i.e. they're read only). Programs that try to write to these
  1360.     fields break. Surprise, surprise.
  1361.  
  1362. PATCHLEVEL2::
  1363.  
  1364. dosmem.c, mem.c:
  1365.     The docs say that children started with Pexec(104,...) or
  1366.     Pexec(106,...) share the parent's memory. This was unfortunately
  1367.     not the case; if the parent exited and the child was running
  1368.     in the parent's address space (e.g. see tfork() in mntlib)
  1369.     the child died very soon thereafter (like when the next program
  1370.     comes along and clears the memory the child was running out of).
  1371.     This is now fixed.
  1372. dos.c, proc.c, timeout.c:
  1373.     More tuning of the process scheduler.
  1374. main.c:
  1375.     Added "setenv" function for mint.cnf.
  1376.  
  1377. PATCHLEVEL1::
  1378.  
  1379. filesys.c:
  1380.     In some circumstances, AHDI will keep telling us that a drive
  1381.     has changed, ad infinitum. To avoid this, we stop trying after
  1382.     8 media changes occur in a row.
  1383. util.c:
  1384.     Tuned the kmalloc() strategy to reduce memory fragmentation
  1385.     (every process will be allocating 264 bytes for its
  1386.     memory region maps right after creation, and this should
  1387.     come from kernel memory).
  1388. tty.c:
  1389.     Under TOS, 1 byte writes should always be in raw mode.
  1390. dos.c:
  1391.     In Syield(), we should call sleep() even if no other processes
  1392.     are waiting, just to make sure that signals, alarms, etc.
  1393.     are properly dealt with.
  1394. filesys.c, dosfile.c:
  1395.     The media change code was wedged (actually, the fault was in
  1396.     do_pclose, which sometimes neglected to check to see whether
  1397.     or not the file had a still-valid device driver).
  1398. dosmem.c:
  1399.     In the termination code, close "files" referring to a process
  1400.     *before* freeing all the process memory; that way, we don't
  1401.     have to worry in do_pclose() and other places about what
  1402.     kind of state the process is in.
  1403. mem.h:
  1404.     Round off memory regions only to a word boundary for better
  1405.     TOS compatibility.
  1406.  
  1407. PATCHLEVEL0::
  1408. dos.c,intr.s,syscall.s:
  1409.     Changed s_yield() to actually give up the processor if
  1410.     another process is waiting for it; this means that processes
  1411.     that call Syield() won't be penalized by the priority code.
  1412.     Also: added a new kernel function, preempt(), which does
  1413.     what the old s_yield() did (and hence penalizes CPU hogs).
  1414. makefile:
  1415.     Cleaned up a bit, per suggestions from A. Pratt and D. Gymer.
  1416.  
  1417.  
  1418. version 0.91
  1419.  
  1420. dosmem.c:
  1421.     Only the high 4 bits of the program load flags give memory
  1422.     requirements (we were using 8 bits).
  1423. dosdir.c:
  1424.     Add a hack so that ksh still works (it was using '/' in a
  1425.     path name). THIS HACK WILL GO AWAY SOMEDAY!
  1426. tty.c:
  1427.     CBREAK mode shouldn't do erase, kill, or EOF processing.
  1428. dosdir.c:
  1429.     Freadlink should check first to make sure the file really
  1430.     is a link!
  1431. file.h,tty.c:
  1432.     Change the name "struct winsiz" to "struct winsize" to match
  1433.     what Unix calls it (cosmetic change only).
  1434. unifs.c:
  1435.     Allow renaming of the drives, and allow rmdir() to work
  1436.     like unlink() for symbolic links (since we fake the return
  1437.     value from Fsfirst to look like a directory if the link
  1438.     points to a directory).
  1439. biosfs.c:
  1440.     lseek() on the null device should not return 0 always;
  1441.     otherwise, it will look like a terminal to many programs!
  1442. dosfile.c:
  1443.     If a MiNT domain process closes stdin or stdout, they
  1444.     really do want them closed (for compatibility with
  1445.     MiNT 0.8).
  1446. syscall.s:
  1447.     When returning from traps, don't pre-empt the current process
  1448.     if it's in supervisor mode.
  1449. mem.c:
  1450.     Fake some stuff in the basepage so that programs compiled
  1451.     with dLibs will work some of the time.
  1452. tosfs.c:
  1453.     Make the value returned from Dgetpath() lower case in the MiNT
  1454.     domain. Also, make tosfs a little less verbose when debugging
  1455.     or tracing is on.
  1456. dosmem.c:
  1457.     Try to allocate space for saved fork() memory in the alternate (TT)
  1458.     memory map first, as well as in core (ST) memory.
  1459. mem.h:
  1460.     Round allocation requests up to multiples of 8 bytes instead
  1461.     of 4; this automatically gives us a bit of slush for ill
  1462.     behaved programs, and also means that requests will always
  1463.     be for a multiple of sizeof(double) bytes.
  1464. util.c:
  1465.     Get rid of the extra slush around kmalloc'd regions (which
  1466.     was a lot bigger than originally intended anyway!)
  1467.  
  1468.  
  1469. version 0.9
  1470.  
  1471. PATCHLEVEL21:: released version
  1472.  
  1473. dosmem.c:
  1474.     Make Malloc and Mxalloc try again if there isn't enough memory;
  1475.     maybe the situation is temporary.
  1476. mem.c:
  1477.     Plug a memory leak in load_region(); also make load_region try again
  1478.     if there isn't enough memory to load the program (just in case the
  1479.     situation is temporary).
  1480. dosdir.c:
  1481.     Add a check to Fattrib to make sure that attributes of directories
  1482.     are never changed.
  1483.  
  1484. PATCHLEVEL20::
  1485.  
  1486. dosdir.c:
  1487.     Allow Frenames of processes and other special kinds of files even
  1488.     if they do have the FA_RDONLY bit set.
  1489. dosfile.c:
  1490.     Allow creation of files with the read-only attribute.
  1491. tosfs.c:
  1492.     Change the file deletion code so that an attempt to delete an
  1493.     open file no longer fails, but rather marks the file to be
  1494.     deleted when it is closed.
  1495. file.h:
  1496.     Add some extra space to the tty struct, for future expansion.
  1497. filesys.c,main.c:
  1498.     Make sure the fake BIOS disk routines are available before
  1499.     any of the pseudo-drives are used, by having them set up
  1500.     in init_filesys() instead of init_intr().
  1501. tosfs.c:
  1502.     Remove some debugging output that isn't needed anymore.
  1503.  
  1504. PATCHLEVEL19::
  1505. Beta release.
  1506.  
  1507. intr.s,main.c:
  1508.     provide some fake BIOS disk routines for the pseudo-drives,
  1509.     in hopes of avoiding "drive U: is not responding" types of
  1510.     messages that some have reported
  1511. pipefs.c:
  1512.     half.ttp was failing under mgr, because of a race condition:
  1513.     our select() returns "ready" for a pipe if nobody exists to
  1514.     write to it (since then a read will return immediately). half
  1515.     would make a pipe that would end up being destroyed immediately
  1516.     by mgr before it got attached to a process. Solution: pipes that
  1517.     have *never* been opened yet for writing get a special marker
  1518.     and select doesn't worry about them, only about ones that were
  1519.     once written to.
  1520. pipefs.c:
  1521.     Fixed FIONWRITE to return the correct value.
  1522. dosdir.c:
  1523.     Refuse to Frename a file with the FA_RDONLY attribute.
  1524. biosfs.c:
  1525.     Fixed bios_write to return the number of bytes successfully
  1526.     written.
  1527. bios.c:
  1528.     LAST_DEVICE was inaccurate. This could happen again, so I'm simply
  1529.     getting rid of it and leaving all errors to the BIOS.
  1530. pipefs.c:
  1531.     Make sure the FA_RDONLY attribute is sensible (i.e. unidirectional
  1532.     pipes that don't have a writer can still be written to).
  1533. filesys.c:
  1534.     Fixed relpath2cookie so that it doesn't *always* follow symlinks
  1535.     (it only should when lastname == follow_links)
  1536. dosfile.c:
  1537.     If the FA_RDONLY bit is set on the file, even the superuser should
  1538.     be denied access for writing.
  1539. dosfile.c:
  1540.     Requiring write permission for Fdatime is a Bad Idea, since GEMDOS
  1541.     doesn't; so now MiNT doesn't either.
  1542. tosfs.c, filesys.c:
  1543.     Fixed a bug with media changes (Fsfirst would sometimes try to close a
  1544.     directory that had already been automatically closed by a media change).
  1545.  
  1546. PATCHLEVEL18::
  1547.  
  1548. main.c:
  1549.     Fixed the machine type detection code; it needs to run before
  1550.     biosfs is initialized, i.e. before init_filesys().
  1551. main.c:
  1552.     Provide a configuration file so that users can automatically
  1553.     setup symbolic links and can change their init program.
  1554. biosfs.c:
  1555.     Allow rename on bios devices, so people who want terminals called
  1556.     "ttyX" instead of "modemX" can do so.
  1557. dosdir.c:
  1558.     Flink shouldn't need write permission on the destination
  1559.     directory, only the source.
  1560. dosfile.c:
  1561.     Added FSTAT function for Fcntl, to allow a better version of
  1562.     fstat() for the library.
  1563. dosfile.c:
  1564.     Add code to fcntl to automatically convert MiNT 0.8 O_NDELAY
  1565.     into MiNT 0.9 O_NDELAY. This is a temporary measure only,
  1566.     to let older versions of mgr continue to work for a while.
  1567. filesys.c:
  1568.     Symbolic links with relative paths were always failing with
  1569.     ELOOP. Oops! (Thanks to Stephen Henson for catching this.)
  1570. file.h, tosfs.c, dosfile.c:
  1571.     Added a new flag, FS_NOXBIT, to control whether or not the
  1572.     file system has a sensible notion of execute permission.
  1573.     This removes an ugly check for &tos_filesys.
  1574. mint.h,util.c,mem.c:
  1575.     Added a compile time option, JUNK_MEM, to deliberately fill
  1576.     the memory MiNT acquires with garbage; this is for debugging
  1577.     (to help track down silly failures to initialize memory) and
  1578.     not for production code.
  1579. proc.c:
  1580.     Fixed a typo in init_proc() that was causing memory not to
  1581.     be initialized to 0 correctly. (Thanks are due to Stephen
  1582.     Usher for catching this one.)
  1583. tosfs.c:
  1584.     Added a tos_rewinddir that works.
  1585. file.h:
  1586.     Added blocks and blksize fields to the XATTR structure, and
  1587.     provided a few extra reserved fields for future expansion.
  1588.     (Also: re-arranged some fields to match what the gcc library
  1589.     already has.)
  1590. file.h, main.c:
  1591.     Add sleep, wake, and wakeselect to the kernel info structure;
  1592.     some device drivers will need these.
  1593. biosfs.c:
  1594.     Make nodskchng do a Getbpb on the (non-existent) device; the officially
  1595.     documented way of forcing a disk change requires this.
  1596. file.h,filesys.c,*fs.c:
  1597.     Remove the "flag" argument from the dskchng function, and
  1598.     have the kernel check Rwabs for E_CHNG; this should save
  1599.     a lot of duplication in user file systems, since everyone
  1600.     really has to do this anyways.
  1601. dosdir.c:
  1602.     Make sure that Fsfirst names can be null-terminated.
  1603. filesys.c:
  1604.     Oops: a misplaced bracket in disk_changed was causing
  1605.     write-protected disks to always appear to have changed!
  1606. tosfs.c:
  1607.     Made it illegal to delete or truncate an open file.
  1608.  
  1609. PATCHLEVEL17::
  1610.  
  1611. version.h:
  1612.     I think we can call this version an "alpha" one, now. No more
  1613.     major features remain to be added (fingers crossed, here).
  1614. filesys.c,dosdir.c,*fs.c,file.h:
  1615.     Media change detection code; this is now the kernel's
  1616.     responsibility. This necessitated an additional function
  1617.     for file systems; I hope this is the last one.
  1618. main.c,biosfs.c:
  1619.     Check what kind of machine we're on, and adjust what devices are
  1620.     present accordingly. The rs232 file has been renamed to "modem1".
  1621.     WARNING: This will break existing code that uses the name "rs232".
  1622. filesys.c:
  1623.     Code for loading file systems (finally!)
  1624. bios.c,context.s:
  1625.     Made Rwabs, Getbpb, and Mediach save registers (since device
  1626.     drivers often don't, and loadable file systems will be calling
  1627.     these directly).
  1628. main.c:
  1629.     Implemented the "struct kerinfo" to pass information to loadable
  1630.     file systems.
  1631. filesys.c:
  1632.     Re-wrote path2cookie to provide for symbolic links; a new routine
  1633.     (relpath2cookie) helps us out.
  1634. unifs.c:
  1635.     Code for creating, reading, and deleting symbolic links.
  1636. *fs.c, dosfile.c, file.h:
  1637.     Changed the way file opens and creates are done; the former
  1638.     (*getdev) routine for file systems has been split into
  1639.     (*creat) and (*getdev), both of which are quite a bit simpler.
  1640.     This whole scheme is clearer, less work for the file system,
  1641.     and will support symbolic links much better.
  1642. various places:
  1643.     Add security checks. This is still pretty sad, but at least it
  1644.     can provide one with a modicum of protection against silly
  1645.     mistakes.
  1646. dosfile.c:
  1647.     Require write permission on a file before changing its date via
  1648.     Fdatime.
  1649. tosfs.c:
  1650.     Cleaned up and streamlined a bit, and fixed tos_readlabel.
  1651. *fs.c,dosdir.c,file.h:
  1652.     Changed the file system "getxattr", "chmode", "chown", and
  1653.     "chattr" functions to take a single file cookie instead of a
  1654.     (directory, name) pair. This should make most uses of these
  1655.     functions (e.g. in name lookups) more efficient. Also,
  1656.     changed the readdir() function to return a file cookie to go
  1657.     along with the newly read file name.
  1658. main.c:
  1659.     If "init.prg" isn't found, try starting GEM instead.
  1660. unifs.c:
  1661.     Re-arranged to allow for symbolic links.
  1662. filesys.c:
  1663.     Implemented some media change routines.
  1664. dosdir.c:
  1665.     Added Fchown and Fchmod system calls.
  1666. dosdir.c:
  1667.     Added security check for Fattrib().
  1668.  
  1669. PATCHLEVEL16::
  1670.  
  1671. lots of places:
  1672.     Try to make TRACE() and DEBUG() messages more useful for people
  1673.     who don't know the internals of the kernel, and who just want to
  1674.     debug their own programs.
  1675. dosdir.c:
  1676.     Added Flink, Fsymlink, Freadlink, and Dcntl system calls.
  1677. *fs.c,file.h:
  1678.     Added a new mode to Dpathconf() to determine whether the
  1679.     file system uses DOS type file naming conventions, ordinary
  1680.     Unix type, or _POSIX_NO_TRUNC type.
  1681. file.h:
  1682.     Add an "fscntl" field to the file system structure.
  1683. tosfs.c:
  1684.     Fix the mode values returned from getxattr() (regular files
  1685.     have type S_IFREG, not S_IFMT).
  1686. proc.c:
  1687.     Zero the child's srchdta field after fork_proc(); otherwise,
  1688.     the accounting for Fsfirst/Fsnext can get messed up. Thanks
  1689.     again to S. Henson.
  1690. mem.c:
  1691.     As Steve Henson pointed out, resetting the effective user and
  1692.     group id's in exec_region is probably a Bad Idea.
  1693. dosdir.c:
  1694.     Change Dopendir/Dclosedir to use umalloc and ufree instead of
  1695.     kmalloc and kfree.
  1696.  
  1697. PATCHLEVEL15::
  1698.  
  1699. dosdir.c:
  1700.     When terminating, clean up after any Fsfirst/Fsnext sequences that
  1701.     didn't go to completion.
  1702. tosfs.c:
  1703.     Streamlined garbage collection code, and also corrected a bug in
  1704.     which file indices used in directory searches could be garbage
  1705.     collected.
  1706. file.h, *fs.c:
  1707.     Add symlink and hard link functions.
  1708. pipefs.c:
  1709.     Make FIONWRITE work again (a line was accidentally deleted).
  1710.     Make sure that Fselect() will select any pipes that have been
  1711.     closed.
  1712. dossig.c:
  1713.     Put back the user id check in Pkill.
  1714. dos.c, proc.c:
  1715.     Make sure that the "euid" and "egid" fields are set with
  1716.     the Psetuid and Psetgid calls. Also, make sure the fields
  1717.     are reset after an exec.
  1718. mem.c:
  1719.     Make exec_region shrink the process 'mem' and 'addr' tables
  1720.     to the default again if extra regions had been allocated.
  1721. dosmem.c:
  1722.     Get rid of the magic number "100", and introduce a maximum user
  1723.     settable priority MAX_NICE so that the kernel can make sure
  1724.     that a process that needs to run (e.g. an aborted vfork) will
  1725.     run first by setting its priority to MAX_NICE+1.
  1726. proc.c:
  1727.     Make sure the initial process memory tables are zeroed.
  1728. proc.c:
  1729.     Adjust the process scheduling algorithm (yet again!). Also,
  1730.     rename "nice_count" to "curpri".
  1731. dosdir.c,dos.c:
  1732.     Added Dopendir, Dreaddir, Drewinddir, Dclosedir system calls.
  1733. *fs.c:
  1734.     Made readdir return a file index (inode number) if it's not
  1735.     doing a TOS mode search.
  1736. biosfs.c:
  1737.     PHYSCONS is such an ugly name; CONSOLE makes more sense.
  1738.  
  1739. PATCHLEVEL14::
  1740.  
  1741. mem.c:
  1742.     Allow the kernel to dynamically allocate memory region
  1743.     descriptors if it runs out; also, increase the number that
  1744.     it starts with by default.
  1745. util.c:
  1746.     Made it harmless to call kfree with a NULL argument.
  1747. proc.h,mem.c,dosmem.c,proc.c:
  1748.     Eliminate the 64 region per process limit, by making the "mem"
  1749.     and "addr" arrays dynamically allocated.
  1750. proc.c:
  1751.     Change the code for selecting which process to run next; if more
  1752.     than one process is on the ready queue, we use a per-process
  1753.     counter to prevent high priority processes from hogging all the
  1754.     time.
  1755. dosmem.c:
  1756.     Release a process' controlling terminal (by setting it's process
  1757.     group back to 0) if the process is a process group leader and
  1758.     is exiting.
  1759. dosfile.c,tty.c,*fs.c:
  1760.     Made do_open set terminals up correctly on open/close, and
  1761.     handle assigning process groups to them. Also, made the terminal's
  1762.     process group be set automatically on Fforce(-1,...).
  1763. main.c,timeout.c:
  1764.     Added AKP's code for better resolution of time usage.
  1765. DELETED FILES:
  1766.     xlate.c, xlate32.s, newdisk.s
  1767. everywhere:
  1768.     Removed all references to NEED_TRANSLATION. This is getting to be a
  1769.     pain to maintain, and nobody seems to actually use it.
  1770. *fs.c:
  1771.     Fixed the ENAMETOOLONG detection code in readdir (thanks, Steve!).
  1772. timeout.c:
  1773.     New function, nap, for processes that are in busy loops waiting for
  1774.     an event that probably won't happen for a while (e.g. waiting for
  1775.     the user to hit a key); use e.g. nap(60) to sleep for 60 milliseconds
  1776.     instead of yield().
  1777. mem.c:
  1778.     create_env() should use the value from the current process' basepage,
  1779.     since this may *not* be the same as the environment the process
  1780.     was actually started with
  1781. dosfile.c:
  1782.     Make Fcntl(fh, arg, F_SETFL) leave the file sharing mode alone as well
  1783.     as the read/write mode.
  1784. unifs.c:
  1785.     Change the name "fifo" to "pipe"; change "drva", "drvb" etc. into just
  1786.     "a", "b" etc.
  1787. dosmem.c:
  1788.     Make it possible to provide a name with Pexec mode 104. Provide a new
  1789.     mode 106 that starts a process in the background and automatically
  1790.     detaches the process TPA from the parent's memory.
  1791.  
  1792. PATCHLEVEL13::
  1793.  
  1794. biosfs.c:
  1795.     Made sure that tty_getchar() won't see (long) negative values
  1796.     returned from a successful read, by clearing the high bit
  1797.     of read values.
  1798. *fs.c,atarierr.h:
  1799.     Made file systems responsible for dealing with "." and "..";
  1800.     introduced a new (fake) EMOUNT error to indicate when ".." is
  1801.     found in a root directory (this is for the benefit of the
  1802.     unified file system code)
  1803. dosdir.c,filesys.c:
  1804.     Changes to allow for the unified file system.
  1805. unifs.c, makefile:
  1806.     New file, for a "unified" file system.
  1807. filesys.c, *fs.c:
  1808.     Renamed denyaccess() to denyshare().
  1809. dosdir.c:
  1810.     Changed getname() to work from the root down instead of from
  1811.     the directory up; this should work better for mounting and
  1812.     symbolic links.
  1813. dosdir.c:
  1814.     Moved the check for a drive specifier (A:\FOO) in Dsetpath to
  1815.     where it should have been, namely before any use of the drive.
  1816. biosfs.c,pipefs.c:
  1817.     In opendir, make sure the directory structure is properly
  1818.     initialized.
  1819. dos.c:
  1820.     Changed snice and srenice to pnice and prenice; also modified the
  1821.     return values to be 16 bit (for the normal case), and 32 bit
  1822.     negative for errors, so that low priority processes can be
  1823.     distinguished from errors.
  1824. debug*.c:
  1825.     The Bconstat() check for the printer should be applied to device
  1826.     0, not 1.
  1827.  
  1828. PATCHLEVEL12::
  1829.  
  1830. dosdir.c,filesys.c:
  1831.     Re-wrote Fsfirst/next to use opendir/readdir/closedir. Re-wrote
  1832.     the pat_match function to work correctly (at least, according
  1833.     to the TOS rules :-).
  1834. *fs.c, file.h:
  1835.     Added opendir/readdir/closedir calls to file systems to allow
  1836.     more general file systems; also changed getattr into getxattr
  1837.     (again, to allow file systems with extra goodies), setattr into
  1838.     chattr, and added chown and chmod calls. Deleted sfirst/snext
  1839.     file system entry points, and the Xsfirst/Xsnext system calls.
  1840. *fs.c,file.h,dosfile.c,dosdir.c:
  1841.     Changed file systems to have separate calls for reading/writing
  1842.     volume labels. Added checks to Fattrib and Fcreate to avoid creating
  1843.     files with bad attributes (e.g. FA_LABEL or FA_DIR and anything
  1844.     else).
  1845. main.c:
  1846.     Change the definition of tosvers so that TOS 1.0 corresponds
  1847.     to tosvers == 0x100, not tosvers == 0. Also, clean up the
  1848.     code for testing TOS versions.
  1849.     WARNING: This may break RAM TOS versions. I doubt it matters.
  1850. bios.c,main.c:
  1851.     Always set the kbshft variable, so that kbshift is more
  1852.     efficient.
  1853. dos.c:
  1854.     Eliminated the old code that allowed Super(-1L) to work (GEMDOS
  1855.     doesn't support this, so why should MiNT?)
  1856. dos.c:
  1857.     Added GEMDOS date and time routines, and made sure that
  1858.     datestamp and timestamp are initialized properly when
  1859.     MiNT is started.
  1860. mem.c:
  1861.     Increased the size of the buffer used for reading relocation
  1862.     information in load_region.
  1863. *fs.c, dosfile.c:
  1864.     Changed the filesystem getdev call to return a file cookie
  1865.     (this saves a call to lookup on every open).
  1866. *fs.c, filesys.c:
  1867.     Eliminated static variables, changed all routines that used to
  1868.     return pointers to cookies to take an extra argument (a pointer
  1869.     to the place to put the result).
  1870. tosfs.c:
  1871.     Turn O_COMPAT sharing mode into O_DENYNONE (after making other
  1872.     appropriate changes to the access modes).
  1873. debugold.c:
  1874.     Updated to reflect changes in debug.c.
  1875. debug.c:
  1876.     Added calls to va_end where appropriate.
  1877. debug.c:
  1878.     Before, hitting a key paused debugging output; now, debug_ws
  1879.     checks the device that output is going to, so that e.g. if it's
  1880.     going to the MIDI port, the output is paused when a character
  1881.     arrives on the MIDI port.
  1882. mem.c:
  1883.     Made exec_region use O_DENYNONE sharing mode instead of O_DENYW
  1884.  
  1885. PATCHLEVEL11::
  1886.  
  1887. dosfile.c:
  1888.     Forbid closing file handles < 0; this will prevent accidental
  1889.     destruction of the BIOS handles.
  1890. dosfile.c:
  1891.     Change Fbiosdev to be MIDI specific, rename it to Fmidipipe, and
  1892.     move it to dosfile.c. The semantics are a bit different, too;
  1893.     see the comments in dosfile.c.
  1894. bios.c:
  1895.     Really fix the MIDI output routines, this time. (sigh)
  1896.  
  1897. PATCHLEVEL10::
  1898.  
  1899. signal.c:
  1900.     Fixed a typo in the message printed when bombs occur. Also,
  1901.     removed the copying of data from the supervisor stack to the
  1902.     BIOS area -- this was causing very strange problems, and it's
  1903.     not clear that the info would be useful under MiNT anyway.
  1904.     Finally, all this is only supposed to happen for certain
  1905.     signals, not for any random killings.
  1906.  
  1907. PATCHLEVEL9::
  1908.  
  1909. file.h, *fs.c:
  1910.     Changed the definition of the DTA buffer to free up space for
  1911.     user/group id fields and an extended attributes field. Made
  1912.     sfirst/snext use the 'aux' field of the directory cookie
  1913.     as an index.
  1914. dos.c:
  1915.     Fixed Talarm() to return the number of seconds left before an
  1916.     alarm, not the number of milliseconds.
  1917. dosdir.c:
  1918.     New system calls, Xsfirst/Xsnext, for accessing file systems
  1919.     with long (>12 character) names.
  1920. signal.c:
  1921.     Fill in the BIOS post-mortem dump error correctly after
  1922.     bus errors, address errors, etc. Also, made the "bomb" replacement
  1923.     routine give the process basepage address and program counter,
  1924.     as suggested by AKP.
  1925. tosfs.c:
  1926.     Fixed the tos_lookup bug that was causing bus errors during file
  1927.     opens.
  1928.  
  1929. PATCHLEVEL8::
  1930.  
  1931. tosfs.c:
  1932.     Made opens with O_COMPAT sharing mode always open for both reading
  1933.     and writing; this is so broken TOS programs that write to read-only
  1934.     handles will continue to work.
  1935. file.h, tty.c:
  1936.     Added TIOCGWINSZ/TIOCSWINSZ and the appropriate window size
  1937.     fields to the tty structure to support them.
  1938. dossig.c:
  1939.     Remove user id checks (for now). Make it impossible to catch
  1940.     SIGSTOP.
  1941. bios.c:
  1942.     Fix so Bconout returns a value (it really should, at least for
  1943.     the printer).
  1944. mem.c:
  1945.     Don't context switch and retry alloc_region; file systems and some
  1946.     parts of the kernel aren't expecting the context switch, and besides
  1947.     the previous change makes this tactic less likely to be helpful.
  1948. mem.c:
  1949.     Don't allocate *all* of the memory to the basepage, leave some for
  1950.     the kernel and other programs.
  1951. pipefs.c:
  1952.     Add a check for broken pipes when a program is trying to write
  1953.     atomically.
  1954. dosmem.c:
  1955.     Block job control signals during a vfork instead of ignoring
  1956.     them; this will result in the "right" thing happening after
  1957.     the exec (since the blocked signals will then be unblocked).
  1958. tosfs.c:
  1959.     Eeek! Fixed a very serious bug in the garbage collection
  1960.     routines ("i" was used where "j" should have been in a loop:
  1961.     result: things could be garbage collected that shouldn't
  1962.     have been!)
  1963. procfs.c:
  1964.     changed the return value from "dfree" to more accurately indicate
  1965.     the free memory in the system, and to also provide information
  1966.     about the smallest unit of allocable memory (currently a longword)
  1967. *fs.c,dosfile.c,dosdir.c,filesys.c:
  1968.     instead of passing fcookies to file systems, pass pointers to
  1969.     them; this should slightly improve efficiency, and greatly
  1970.     improve portability (otherwise, compilers used to make
  1971.     installable file systems would have to have the same structure
  1972.     passing/return conventions as the one that compiled the kernel)
  1973. dos.c:
  1974.     new system call, Srenice(), to change priority of a different
  1975.     process
  1976. dos.c:
  1977.     change Fbiosdev() system call to take a pid argument
  1978. proc.h, dosfile.c:
  1979.     add per-file descriptor flags for things like "close on exec"
  1980. file.h, mem.c, *fs.c:
  1981.     new file open mode, O_EXEC, for the kernel to use in Pexec
  1982. rendez.c, dos.c:
  1983.     new file from AKP to implement a simple and fast message based
  1984.     IPC; the new system call is Pmsg. Also note that the syscall number
  1985.     of Pmsg is 0x125, which used to be used by Fbiosdev; Fbiosdev has
  1986.     been moved to 0x126.
  1987. filesys.c:
  1988.     applied Steve Henson's patches to improve path2cookie's handling of
  1989.     repeated slashes
  1990. proc.h:
  1991.     MAX_OPEN should be 32, not 20!
  1992. mem.c:
  1993.     Ignore "close on exec" flag for the standard handles (for some
  1994.     reason, bash manages to set these for 0,1,2; this is probably a bug
  1995.     in the port of bash, but on the other hand it's unlikely that
  1996.     anyone would really want to close the standard handles when doing
  1997.     an exec, anyway)
  1998. tty.c:
  1999.     Fixed RAW mode reads on terminals so that they're no longer
  2000.     terminated by '\r' or '\n' (and so that pty slaves aren't forced
  2001.     to read just 1 character at a time). Thanks to AKP for catching
  2002.     this.
  2003.  
  2004. PATCHLEVEL7::
  2005.  
  2006. *fs.c:
  2007.     Cleaned up the Dpathconf() return values to better reflect
  2008.     reality, and made the code a little easier to understand.
  2009. bios.c:
  2010.     Adjust bcostat() parameters so that V:\MIDI and V:\KBD call
  2011.     the right (wrong) device (BIOS devices 3 and 4 are mixed
  2012.     up for Bcostat).
  2013. dosmem.c:
  2014.     Made sure that Malloc(0L) always returns a NULL pointer.
  2015. dosfile.c:
  2016.     Made Fclose() of handles 0, 1, 2, and 3 restore the default
  2017.     mappings. (Apparently TOS _does_ do this, after all.)
  2018. bios.c:
  2019.     AHDI 3.1 added a new parameter to Rwabs; we now pass that
  2020.     along too.
  2021. timeout.c:
  2022.     Make canceltimeout() free the memory used by the time out
  2023.     descriptor. (another Fselect bug)
  2024. signal.h:
  2025.     Removed ABORT and ALARM from list of signals that are reported
  2026.     by the kernel.
  2027. proc.c:
  2028.     Moved checkalarms() to do_wakeup_things() so that short time outs
  2029.     will be properly recognized; this fixes a nasty bug in Fselect.
  2030.  
  2031. PATCHLEVEL6::
  2032.  
  2033. pipefs.c:
  2034.     Make writes of 1024 or fewer bytes atomic. Also, increase pipe
  2035.     buffer size to 4096.
  2036. tosfs.c:
  2037.     Make O_EXCL and O_TRUNC bits useful.
  2038. tosfs.c,pipefs.c,filesys.c:
  2039.     Fully implement file sharing modes for tosfs and pipefs. A new
  2040.     routine (denyaccess) is provided in filesys.c for checking
  2041.     file open modes and determining conflicts (if any).
  2042. pipefs.c:
  2043.     If a process writes on a broken pipe while ignoring SIGPIPE,
  2044.     the write now returns -1. (Thanks, Stephen)
  2045. debug.c, bios.c:
  2046.     Applied bammi's patches to PATCHLEVEL 5 to fix some typos.
  2047.  
  2048. PATCHLEVEL5::
  2049.  
  2050. debug.c, bios.c:
  2051.     Applied AKP's debugging output patches, to allow TRACE and
  2052.     DEBUG output to go to serial ports as well as the printer.
  2053.  
  2054. PATCHLEVEL4::
  2055.  
  2056. dos.c:
  2057.     NEW SYSTEM CALL: Fbiosdev() to control redirection of BIOS
  2058.     devices.
  2059. bios.c, proc.h:
  2060.     Added binput and boutput arrays to allow for per-process redirection
  2061.     of BIOS device input and output to GEMDOS file handles.
  2062. biosfs.c:
  2063.     Changed "mdi" to "midi".
  2064.     WARNING: this change could (I suppose) break existing code.
  2065. util.c:
  2066.     Added a umalloc() function to allocate memory in user space,
  2067.     and modified the various sfirst routines to use this to
  2068.     allocate space for patterns instead of kmalloc.
  2069. dosdir.c,file.h:
  2070.     Added an FS_CASESENSITIVE flag to control conversion of file
  2071.     names to upper case for TOS domain processes.
  2072. dosdir.c, *fs.c:
  2073.     Made sfirst/snext functions take an extra argument, the length
  2074.     of the file name field in the DTA buffer (so that we can provide
  2075.     Xsfirst/Xsnext functions that can work with longer names)
  2076. mem.c:
  2077.     Fixed exec_region so that the close-on-exec flag works.
  2078. filesys.c:
  2079.     Made path2cookie take the name of the place to store the last
  2080.     component of the path name as an argument (instead of always
  2081.     storing it in the global variable temp1).
  2082. biosfs.c:
  2083.     Added code for O_NDELAY on bios devices.
  2084. tosfs.c:
  2085.     Cleaned up garbage collection a bit -- I hope this fixes the
  2086.     problems with running out of indices.
  2087. filesys.c:
  2088.     Returned the special parsing code for CON:, AUX:, etc.
  2089. file.h:
  2090.     OOPS! The flock structure was missing an element (l_whence). It
  2091.     was added.
  2092.     WARNING: This change may break existing code.
  2093. util.c:
  2094.     Made kmalloc take a long parameter, just in case installable
  2095.     file systems need lots of memory.
  2096. file.h, atarierr.h, pipefs.c:
  2097.     Made file modes compatible with _FLK specification. Also
  2098.     added the ELOCKED and ENSLOCK errors to atarierr.h, and made
  2099.     pipefs.c use ELOCKED instead of EACCDN.
  2100.     WARNING: this *will* break existing programs. In particular, mgr
  2101.     no longer works :-( because O_NDELAY has changed. (this was
  2102.     temporarily patched)
  2103. dos.c,dosfile.c:
  2104.     Added Flock() system call.
  2105. mem.c:
  2106.     Made the initial user stack pointer low enough so that syscall.s
  2107.     won't run into the end of memory if the user makes a system call
  2108.     right away and doesn't push many parameters (the code in syscall
  2109.     always tries to copy a large chunk of the caller's stack).
  2110. dosmem.c:
  2111.     Made vfork'd processes ignore job control signals (thanks to
  2112.     Stephen for pointing out how some shells rely on BSD's similar
  2113.     behaviour).
  2114.  
  2115. PATCHLEVEL3::
  2116.  
  2117. dosfile.c, file.h, *fs.c, bios.c:
  2118.     Changed f_select to use the new timeout mechanism, and provided
  2119.     routines in device drivers to wake up selecting processes.
  2120. proc.h:
  2121.     New queue, SELECT_Q, for processes doing "select", to match above
  2122.     changes
  2123. dos.c:
  2124.     Changed t_alarm to use the new timeout mechanism.
  2125. timeout.c,proc.h:
  2126.     Added a new "timeout" mechanism, so that processes can specify
  2127.     an action to be taken when a counter expires.
  2128. various places:
  2129.     Cleaned up TRACE and DEBUG output
  2130. proc.c:
  2131.     Set current directory based on the TOS current directory
  2132.     when MiNT is starting up.
  2133. debug.c:
  2134.     Added AKP's "trace" mode patch
  2135. filesys.c:
  2136.     Replaced strcmp() for . and .. with direct comparisons, again
  2137.     per AKP.
  2138. tosfs.c:
  2139.     Improved search performance a bit (indicies are now allocated
  2140.     at the beginning of the list, instead of at the end)
  2141. main.c, version.h:
  2142.     Introduced PATCHLEVEL for alpha and beta test versions    
  2143. util.c:
  2144.     Made kmalloc() try the kernel memory region first for small
  2145.     regions, to cut down fragmentation of the user's memory space
  2146. proc.h:
  2147.     Made the system stacks bigger, to compensate for the bigger
  2148.     contexts now that there's FPU support
  2149. dosmem.c:
  2150.     Fixed bug with Pexec mode 6 (thanks again, AKP)
  2151. biosfs.c:
  2152.     Changed FD0 to STDIN, FD1 to STDOUT, etc.
  2153.     WARNING: this change could break existing code
  2154. filesys.c:
  2155.     '/' is no longer a directory separator for MiNT domain processes
  2156.     (few were using it, and it simplifies things to be able to
  2157.     assume '\' is the only such separator).
  2158.     WARNING: this change could break existing code
  2159. all over the place:
  2160.     Changed the way directories/files are stored. We now have
  2161.     "file cookies" for directories, instead of strings. We
  2162.     also now have two directories per drive per process
  2163.     (a root and current).
  2164. minixfs.c:
  2165.     Removed from the main compile, and MINIX_FS symbol was also
  2166.     removed -- this will be a loadable file system someday
  2167.     (soon, I hope).
  2168. various places:
  2169.     Added Alex Kiernan's patches to support compilation under
  2170.     Lattice C v5
  2171. proc.h, context.s:
  2172.     Added Alex Kiernan's FPU co-processor patches. WARNING: this
  2173.     changes the layout of the proc structure in memory, and so
  2174.     breaks "ps" and similar programs.
  2175. proc.c:
  2176.     Changed sleep() to take the wait condition as an argument; this
  2177.     means that fewer things need to know the internals of the
  2178.     PROC structure
  2179. various places:
  2180.     Added AKP's T_TOSTOP flag changes
  2181. minixfs.c:
  2182.     Changed the 8K buffer in do_change to a static variable; our
  2183.     stacks aren't *that* big!
  2184. intr.s:
  2185.     Fixed a typo that was causing serious problems with the bus
  2186.     error and other exception codes on the TT (thanks for
  2187.     catching this, Allan).
  2188. dosmem.c,signal.c:
  2189.     Corrected the GEMDOS termination vector code (the system stack
  2190.     was being corrupted if the user's code returned). Thanks to
  2191.     Julian Reschke for catching this error.
  2192. ===========================================================================
  2193. version 0.8
  2194.  
  2195. biosfs.c, pipefs.c:
  2196.     fix ^C and ^Y to send the signals to the whole process group,
  2197.     and also to make sure processes don't read these keys if
  2198.     they're turned into signals
  2199. intr.s,dossig.c:
  2200.     fix exception handlers to be more careful about the distinction
  2201.     between being in or out of the kernel
  2202. intr.s, syscall.s, main.c:
  2203.     make sure interrupts are off before changing any vectors
  2204. bios.c:
  2205.     fixed the annoying problems with CTRL-ALT-Fx sometimes leaving
  2206.     keys in the buffer
  2207. signal.c:
  2208.     forced p_sigreturn() with no signal pending to unwind the
  2209.     *whole* signal stack, in case there were multiple signals
  2210.     pending at the time the user did a longjmp() (or whatever
  2211.     prompted the Psigreturn())
  2212. dosmem.c:
  2213.     p_wait3 now supports the WUNTRACED bit; if this isn't set,
  2214.     processes stopped due to job control are *not* returned
  2215. dosmem.c:
  2216.     removed dLibs kludge -- some programs rely on p_parent being
  2217.     non-zero to tell them that they're not accessories
  2218. various places:
  2219.     cleaned up job control stuff to be more Unix like
  2220. mem.c,util.c:
  2221.     added a new memory map for the kernel -- this should ease
  2222.     the problems with programs grabbing all of available memory
  2223. mem.c,dosmem.c:
  2224.     incorporated Allan's bugfixes; alternative RAM should work now
  2225. signal.c, main.c, intr.s:
  2226.     integrated signals with normal exceptions, so that e.g.
  2227.     a bus error raises SIGBUS. This improves the survivability
  2228.     of the kernel, so that a bus error resulting from a bad
  2229.     system call parameter won't kill MiNT, just the offending
  2230.     process.
  2231. proc.c:
  2232.     kludge to let low priority processes run every so often, even
  2233.     in the presence of a high priority process that is ready to run
  2234. atarierr.h:
  2235.     ENMFIL is -49, not -47 -- so much for Abacus' docs :-)
  2236. procfs.c:
  2237.     changes to allow read/write from process space
  2238. minixfs.[ch]:
  2239.     changed lots of function parameter types to avoid promotion and
  2240.     prototype problems with 32 bit code
  2241. bios.c:
  2242.     changed IOREC to IOREC_T to avoid name conflicts with some osbind.h
  2243. biosfs.c:
  2244.     made mouse driver change the line A mouse position variables, so MGR
  2245.     will work with bigscrn and similar large screen emulators
  2246. minixfs.c:
  2247.     new version from Stephen, now supports floppies and other removable
  2248.     media
  2249. mem.c, dosmem.c, dos.c:
  2250.     added code to support new TT TOS calls Mxalloc and Maddalt, plus
  2251.     program flags for loading/mallocing in alternate memory
  2252. bios.c,biosfs.c,dosfile.c:
  2253.     changed so that bios handles 0 and 1 can be redirected just like
  2254.     handle 2 (via the new file handles -3 and -2 respectively; AUX:
  2255.     and PRN: now refer to these files, and RS232 and CENTR to the
  2256.     physical devices)
  2257. dosdir.c:
  2258.     Dsetdrv() fixed to return an error indication when one happens
  2259. dos.c:
  2260.     fixed Super() bug (thanks Stephen)
  2261. minixfs.c:
  2262.     incorporated changes to handle 1K sector sizes
  2263.  
  2264. =============================================================================
  2265. version 0.7
  2266.  
  2267. minixfs.c:
  2268.     new file, courtesy of Stephen N. Henson (olorin@tardis.cs.ed.ac.uk)
  2269.     this is still "under construction"; see minixfs.doc for more details
  2270. bios.c:
  2271.     CTRL-ALT-UNDO now raises SIGQUIT, for the benefit of people with
  2272.     foreign ROMs (some have trouble with ^\)
  2273. filesys.c:
  2274.     changed pathname resolution code so that multiple slashes in a file
  2275.     name have the same effect as single slashes. POSIX mandates this,
  2276.     and some Unix programs expect it, too
  2277. dosmem.c:
  2278.     changed do_vfork() code so that the text segment of processes is
  2279.     *not* saved in a fork() if the process has separate text, data, and
  2280.     bss segments; this saves a fair bit of memory
  2281. proc.c:
  2282.     changed the process initialization code to better deal with job
  2283.     control; also changed handle 2 to be AUX: (as under TOS) rather
  2284.     than PRN:
  2285. bios.c:
  2286.     added CTRL-ALT-F5 (show memory usage) and CTRL-ALT-F6
  2287.     (show processes)
  2288. filesys.c:
  2289.     make explicit the fact the individual file names are limited to
  2290.     14 characters
  2291. everywhere:
  2292.     change FILENAME_MAX to PATH_MAX
  2293. mem.c:
  2294.     fixed up comments and debugging/trace info for load_region
  2295. dossig.c:
  2296.     NEW SYSTEM CALL: Psigpending() returns the set of signals that
  2297.     have been sent to the process, but not yet delivered.
  2298. dos.c, dosdir.c:
  2299.     NEW SYSTEM CALLS:
  2300.     Sysconf(n) returns information about the global limits of the
  2301.     currently running version of MiNT
  2302.     Dpathconf(name, n) returns information about the file system that
  2303.     the file "name" is located on
  2304. bios.c:
  2305.     allow CTRL-ALT-C, CTRL-ALT-\, and CTRL-ALT-Z to force a SIGINT,
  2306.     SIGQUIT, or SIGTSTP, respectively, even if the terminal is in raw
  2307.     mode
  2308. various places:
  2309.     call zero() instead of bzero()
  2310. context.s,intr.s:
  2311.     changes to make MiNT TT compatible. Thanks to Allan Pratt for this!
  2312. biosfs.c, tosfs.c, pipefs.c, procfs.c:
  2313.     fsfirst/fsnext return all upper case in TOS domain now, but
  2314.     lower case (or mixed) in MiNT domain; this is to try to wean
  2315.     programmers off of the habit of assuming everything is upper case
  2316.     (and converting accordingly)
  2317. biosfs.c:
  2318.     made mouse compatible with TOS ALT-cursor keys (the Y direction was
  2319.     wrong before)
  2320. intr.s:
  2321.     IPL 7 before reboot (thanks, Allan)
  2322. version.h, main.c:
  2323.     made version numbering a bit easier (big deal)
  2324. main.c:
  2325.     AARGH! The cookie jar stuff was plain wrong (the last cookie should
  2326.     have the total number of slots, not just the ones that are free).
  2327. main.c:
  2328.     pass current environment along to init.prg, instead of forcing an
  2329.     empty environment
  2330. signal.c:
  2331.     corrected killpg() bug (wasn't checking signals, so the current
  2332.     process didn't get the signal until later)
  2333. mem.c, dosmem.c:
  2334.     made sure that all sizes would always be rounded to the nearest
  2335.     longword. Just in case they aren't, Malloc(-1L) rounds down to the
  2336.         next smallest longword.
  2337. lots of places:
  2338.     memory handling was overhauled completely; kmalloc now allocates
  2339.     memory from the same space as do m_alloc and p_exec, so there is
  2340.     no artificial constraint on the number of processes
  2341. ===========================================================================
  2342. version 0.6
  2343.  
  2344. dos.c:
  2345.     added Talarm() and Pause() system calls
  2346. bios.c, tty.c, pipefs.c:
  2347.     added real tty structures that programs can manipulate
  2348. proc.c:
  2349.     added some sanity checks for things like stack overflow
  2350. signal.c:
  2351.     revamped signal handling so that Psigreturn() no longer needs an
  2352.     argument.
  2353. dosmem.c:
  2354.     made Pexec'ing processes immune to SIGINT, SIGHUP, and SIGTSTP
  2355. intr.s:
  2356.     fixed the Psigreturn race condition bug
  2357. biosfs.c, pipefs.c, filesys.c, util.c:
  2358.     added case-insensitive string comparison routine, and modified the
  2359.     file systems to use it
  2360. bios.c, console.c:
  2361.     changed return values of status calls from 1 to -1, to be TOS
  2362.     compatible
  2363. dos.c:
  2364.     added new calls to get resource usage, and set resource limits
  2365. dosfile.c:
  2366.     added new call, f_select
  2367. signal.c:
  2368.     changed so stopped processes always have a return code of 0177
  2369. biosfs.c:
  2370.     added a fake "third button" on the mouse (you get it by holding down
  2371.     a shift key and a mouse button)
  2372.     made mouse_read return at least 1 byte
  2373. bios.c, proc.c, biosfs.c:
  2374.     added code to check for CTRL-ALT-key combinations on every
  2375.     process switch; thus, debugging, rebooting, etc. do not require
  2376.     waiting for a read from the keyboard. Also, ^C sends a SIGINT
  2377.     immediately, and ^Z (SIGTSTP) and ^\ (SIGQUIT) take effect
  2378.     right away, too.
  2379.     CTRL-ALT-DEL supported for TOS < 1.4
  2380.  
  2381. =========================================================================
  2382. version 0.5
  2383.  
  2384. First publically released version (made available for FTP as a beta test)
  2385.  
  2386.